Using XNA and Visual Studio 2012 RTM

First of all you will need to have Visual Studio 201o SP1. 1. Then, install XNA Game Studio 4.0. The easiest way is to install the Windows Phone SDK 7.1 which contains everything required. 2. Copy the XNA Game Extension from VS 10 to VS 11 using (may vary if not x64 computer with defaults paths) : xcopy /e “C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDEExtensionsMicrosoftXNA Game Studio 4.0” “C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEExtensionsMicrosoftXNA Game Studio 4.0” 3. Open the file “extension.vsixmanifest” in the later directory 4. Upgrade the Supported product version to match the new version : VSTS VSTD Pro VCSExpress VPDExpress 5. You may have to run the command to tells Visual Studio that new extensions are available : “C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEdevenv.exe” /setup This have been tested for Windows Games. Neither XBox nor WP7 game have been tested.

UPDATE (Other usefuls steps):

run this : http://www.xbox.com/en-US/LIVE/PC/DownloadClient

OR

Download the zip file and unzip it somewhere. You should see an executable called XNAGS40_setup.exe and a folder called XNA Game Studio 4.0
Open a command line and navigate to the folder that contains XNAGS40_setup.exe – then run XNAGS40_setup.exe /x . You’ll be asked to enter a folder. It’s probably easiest if you create a new empty folder. This folder is temporary and can be deleted after you are done.
Go to the temporary folder and run redists.msi
Run the MSI at %ProgramFiles%Microsoft XNAXNA Game Studiov4.0SetupXLiveRedist.msi
Run the MSI at %ProgramFiles%Microsoft XNAXNA Game Studiov4.0RedistXNA FX Redistxnafx40_redist.msi
Run the MSI at %ProgramFiles%Microsoft XNAXNA Game Studiov4.0Setupxnaliveproxy.msi
Run the MSI at %ProgramFiles%Microsoft XNAXNA Game Studiov4.0Setupxnags_platform_tools.msi
Run the MSI at %ProgramFiles%Microsoft XNAXNA Game Studiov4.0Setupxnags_shared.msi
Copy folder XNA Game Studio 4.0 provided in the zip file you downloaded at the start to C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEExtensionsMicrosoft
Go to the temporary folder you extracted to in step 2 and run the MSI named arpentry.msi
Open a cmd window and run “C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEdevenv.exe” /setup
Delete the temporary folder you created, as well as the zip file and the folder you extracted that to. You don’t need those any more.

Potrebbe interessanti anche…