Sign in to follow this  
oldgregg

XNA References problem

Recommended Posts

oldgregg    231
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.

Share this post


Link to post
Share on other sites
oldgregg    231
[quote name='Milkboat' timestamp='1350316873' post='4990417']
You can right click your project in the solution explorer and choose 'Add Reference' and then browse for the ones you are looking for.
[/quote]

Thanks for the reply!

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

Share this post


Link to post
Share on other sites
BCullis    1955
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)

Share this post


Link to post
Share on other sites
oldgregg    231
[quote name='BCullis' timestamp='1350319155' post='4990429']
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)
[/quote]

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this