已安装XNA Redistributable 3.1但无法找到目标文件 [英] Installed XNA Redistributable 3.1 but can not locate target files
问题描述
大家好,
我想看一下(开源)Visual Studio项目,该项目需要安装XNA框架3.1(并在项目中引用如下)。
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" />
所以我去了MS网站并下载了XNA redist 3.1安装程序(xnafx31_redist.msi)
http://www.microsoft.com/en-us/download/details.aspx?id=15163 一> [ ^ ]
我安装了它,但没有创建预期的目录(下面)。
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\
当我环顾四周时,我发现在Dir下面创建了安装程序
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
但是这个新目录中没有Microsoft.Xna.GameStudio.targets文件。
相反它有下面的项目
But this new dir does not have "Microsoft.Xna.GameStudio.targets" file in it.
Instead it has below items
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
我甚至尝试运行DXSETUP.exe,但它说准备就绪并关闭。
我卸载XNA 3.1然后重新安装它但是问题仍然存在。
【问题】
如何安装XNA Framework 3.1,以便找到文件Microsoft.Xna.GameStudio .targets
(如果这是一个愚蠢的问题,我很抱歉我的无知,但我会感激任何帮助)
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)
推荐答案
(MSBuildExtensionsPath)\ Mycoftoft \ XNA Game Studio \ Mysoftoft.Xna.GameStudio.targets/>
(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" />
所以我去了MS网站并下载了XNA redist 3.1安装程序(xnafx31_redist.msi)
http://www.microsoft.com/en-us/download/details.aspx?id=15163 一> [ ^ ]
我安装了它,但没有创建预期的目录(下面)。
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\
当我环顾四周时,我发现在Dir下面创建了安装程序
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
但是这个新目录中没有Microsoft.Xna.GameStudio.targets文件。
相反它有下面的项目
But this new dir does not have "Microsoft.Xna.GameStudio.targets" file in it.
Instead it has below items
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
我甚至尝试运行DXSETUP.exe,但它说准备就绪并关闭。
我卸载XNA 3.1然后重新安装它但是问题仍然存在。
【问题】
如何安装XNA Framework 3.1,以便找到文件Microsoft.Xna.GameStudio .targets
(如果这是一个愚蠢的问题,我很抱歉我的无知,但我会感激任何帮助)
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)
这篇关于已安装XNA Redistributable 3.1但无法找到目标文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!