Solved

Need to add XNA to Visual Studio 2012 (by way of VS 2010) but can't

Posted on 2013-01-31
2
660 Views
Last Modified: 2013-02-05
Good afternoon,

For school I need to add XNA to Visual Studio 2012. I understand that the XNA SDK is not directly compatible with VS 2012, but by installing it to 2010 I can then pull the libraries over to 2012.

I attempted to install the XNA sdk into 2010 but was notified I needed to install Service Pack 1 first. Did that and now when I attempt to add the sdk I get compatibility error messages (i.e. "cannot run in compatibility mode"). I'm assuming this is due tot he fact that I'm running Windows 7. How can I work around this issue?

Thanks
0
Comment
Question by:ThePATMAN26
2 Comments
 
LVL 47

Accepted Solution

by:
dlethe earned 100 total points
ID: 38842801
Create a virtual machine using the free VMWare VM player for windows.  Run your same Win7 licensed O/S inside the VM.  then you can do a fresh install of VS2010, add the patches and SP, then XNA.   (Yes, not  the best solution, but i do this sometimes when I need to do a complicated installation as a sandbox to check out all prerequisites.  Then I take snapshots at known-good points, and build from there.

If an  update breaks something, I just use one of the backups and continue
0
 
LVL 31

Assisted Solution

by:Zoppo
Zoppo earned 400 total points
ID: 38842803
Hi ThePATMAN26,

here you can find a readme with a possible workaround for this in chatper 2.1.10: http://download.microsoft.com/download/8/C/E/8CE18AE7-CAA8-4A4C-87CF-0C3DF772322D/VS2010RTM.htm.

If this doesn't help you should google for something like install xna cannot run in compatibility mode, you'll find sites with more info/discussions about this problem like these:
http://blogs.msdn.com/b/astebner/archive/2010/09/17/10064318.aspx
http://www.ningzhang.org/2010/10/03/fix-wp7-dev-tools-install-issue-setup-cannot-be-run-in-program-compatibility-mode/

Hope this helps,

ZOPPO
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now