Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


XNA References problem


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 oldgregg   Members   -  Reputation: 231

Like
0Likes
Like

Posted 15 October 2012 - 09:58 AM

Hi guys,

I've got a problem with XNA 4.0.

MSDN says by default a new Windows Game 4.0 Project will include :
Microsoft.Xna.Framework
Microsoft.Xna.Framework.Avatar
Microsoft.Xna.Framework.Game
Microsoft.Xna.Framework.GamerServices
Microsoft.Xna.Framework.Graphics
Microsoft.Xna.Framework.Net
Microsoft.Xna.Framework.Storage
Microsoft.Xna.Framework.Video
Microsoft.Xna.Framework.Xact
mscorlib
System
System.Core
System.Net
System.Xml
System.Xml.Linq


However mine is only including :

Microsoft.Xna.Framework
Microsoft.Xna.Framework.Content.Pipeline
Microsoft.Xna.Framework.Graphics
System
System.Core
System.Xml
System.Xml.Linq


How do I get it to add all the references so I can use the .Video reference?

Thanks.

Sponsor:

#2 Milkboat   Members   -  Reputation: 238

Like
0Likes
Like

Posted 15 October 2012 - 10:01 AM

You can right click your project in the solution explorer and choose 'Add Reference' and then browse for the ones you are looking for.

#3 oldgregg   Members   -  Reputation: 231

Like
0Likes
Like

Posted 15 October 2012 - 10:15 AM

You can right click your project in the solution explorer and choose 'Add Reference' and then browse for the ones you are looking for.


Thanks for the reply!

I've done this and the
include MIcrosoft.....Video;
is still underlined red.
It's baffling me. =|

Edited by oldgregg, 15 October 2012 - 10:15 AM.


#4 BCullis   Crossbones+   -  Reputation: 1813

Like
0Likes
Like

Posted 15 October 2012 - 10:39 AM

Are you sure you didn't create a new Content Project? That reference list looks like it only included the components for the content portion of the project. (Or you could be trying to add your code file to the wrong part of the project: a Game Project and an associated Content Project are both created when you make a new game project through the wizard)
Hazard Pay :: FPS/RTS in SharpDX
DeviantArt :: Because right-brain needs love too

#5 oldgregg   Members   -  Reputation: 231

Like
0Likes
Like

Posted 17 October 2012 - 11:05 AM

Are you sure you didn't create a new Content Project? That reference list looks like it only included the components for the content portion of the project. (Or you could be trying to add your code file to the wrong part of the project: a Game Project and an associated Content Project are both created when you make a new game project through the wizard)


Nope a regular project not a content.
My friend managed to fix it with some wizardry though but thanks for the reply!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS