This guide will provide you with a workaround for using XNA in Visual Studio 2017. This will solve problems with the target files and Microsoft.Build.Framework.dll such as:
Error loading pipeline assembly "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.Build.Framework.dll"
- Download a modified version of the XNA vsix: https://mxa.codeplex.com/
- Unzip XNA Game Studio 4.0.vsix and replace the
<Installation />
tag in extension.vsixmanifest with this:
<Installation InstalledByMsi="false">
<InstallationTarget Version="[12.0,16.0)" Id="Microsoft.VisualStudio.VSWinDesktopExpress" />
<InstallationTarget Version="[12.0,16.0)" Id="Microsoft.VisualStudio.Pro" />