Skip to main content
GameDev.net gamedev.net
🔒 Locked

XNA References problem

Started by oldgregg Oct 15, 2012 at 3:58 PM 3 replies 1.8k views
Original Post
oldgregg
oldgregg
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.
Milkboat
Milkboat
You can right click your project in the solution explorer and choose 'Add Reference' and then browse for the ones you are looking for.
oldgregg
oldgregg

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

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!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.