Problem running XNA in WinForm and Solution Explorer

This topic is 2866 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Hi there, i am trying to run XNA graphcis in a windows form, its builds properly but when i run it i get:

Could not load file or assembly 'Microsoft.Xna.Framework, Version=3.1.0.0, Culture=neutral, PublicKeyToken=6d5c3888ef60e27d' or one of its dependencies.

Now after some googling I found a solution, I am trying to load a 64bit assembally for it so, solution change Solution from Any CPU to x86 or something

Problem:

I CANT on this project?

At the top of the VSC#2008 UI there are two boxes where usually you see
"Debug" and "x86" or "Any CPU"

However both these boxes are greyed out? have I forgotten something or? any help appreciated

[Edited by - Andy474 on July 21, 2010 5:16:22 AM]

Share on other sites
Tools→Options, tick Show all settings in the bottom left, Projects and Solutions, tick Show advanced build configurations.

In Visual Studio 2010 you will need to select Tools→Settings→Expert Settings.

You can also set the configuration settings by right-clicking the solution in the solution explorer and selecting Configuration Manager.

• 16
• 9
• 13
• 41
• 15