XNA References problem

Started by
3 comments, last by oldgregg 11 years, 6 months ago
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.
Advertisement
You can right click your project in the solution explorer and choose 'Add Reference' and then browse for the ones you are looking for.

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. =|
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)


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!

This topic is closed to new replies.

Advertisement