首页 > 技术文章 > VS2015 安装XAN

wgscd 2015-06-03 22:34 原文

How to install XNA in Visual Studio 2015 (Preview)

How can I install the templates and the the framework for XNA in Visual Studio 2015?

I found this page here that helps installing the XNA framework in Visual Studio 2013, but they do not offer any downloads for Visual Studio 2015.

I know that XNA is not developed anymore by Microsoft, but it is a really great Framework that I need to use in Future.

 

1 Answer

I got it working. I used the XNA Refresh package that can be downloaded here and did all the steps exactely as for VS 2013. But I edited the .vsix file because it doesn't let you install it in VS 2015. It turns out it is simply a ZIP-File. I fixed the version numbers in extension.vsixmanifest to 14.0.

<Installation InstalledByMsi="false">
  <InstallationTarget Version="14.0" Id="Microsoft.VisualStudio.VSWinDesktopExpress" />
  <InstallationTarget Version="14.0" Id="Microsoft.VisualStudio.Pro" />
  <InstallationTarget Version="14.0" Id="Microsoft.VisualStudio.Premium" />
  <InstallationTarget Version="14.0" Id="Microsoft.VisualStudio.Ultimate" />
</Installation>

This lets you install the vsix package in Visual Studio 2015!

 

 

 

推荐阅读