Click here to Skip to main content
15,887,355 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello all,

I wanted to look at an (Open Source) Visual Studio project which requires XNA framework 3.1 installed (and referred in project as below).
<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" />

So I went to MS website and downloaded XNA redist 3.1 installer (xnafx31_redist.msi)
http://www.microsoft.com/en-us/download/details.aspx?id=15163[^]

I installed it, but the expected dir (below) was NOT created.
C:\Program Files (x86)\MSBuild\Microsoft\XNA Game Studio\

When I looked around I found that the installer created below Dir
C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v3.1\Redist\DX Redist

But this new dir does not have "Microsoft.Xna.GameStudio.targets" file in it.
Instead it has below items
VB
APR2007_d3dx9_33_x86.cab
APR2007_xinput_x86.cab
DSETUP.dll
dsetup32.dll
DXSETUP.exe
dxupdate.cab
Mar2009_X3DAudio_x86.cab
Mar2009_xact_x86.cab
Mar2009_XAudio_x86.cab
OCT2006_d3dx9_31_x86.cab

I even tried to run the "DXSETUP.exe", but it says "preparation is OK" and closes.
I uninstalled XNA 3.1 then reinstalled it but the problem persists.

【Ques】
How to install XNA Framework 3.1, so that I can locate the file "Microsoft.Xna.GameStudio.targets"

(If its a stupid question, I am sorry for my ignorance but I will appreciate any help)
Posted
Updated 16-Jan-14 0:53am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900