Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

XNA References problem

4: Adsense

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   

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.

#2 Milkboat   Members   

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   

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   Members   

1955
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 (gathering dust, retained for... historical purposes)
DeviantArt :: Because right-brain needs love too (also pretty neglected these days)


#5 oldgregg   Members   

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.