更新我的NuGet 4.3,从那以后,总有一个错误,当我构建系统尝试恢复wixtoolset的NuGet 4.3上失败恢复wixproj
我使用VS2017,版本15.3.5的NuGet包和wixtoolset安装
"C:\NuGet\NuGet.exe" restore "C:\...\....sln" -ConfigFile "C:\....\NuGet.config" -NoCache -NonInteractive -Verbosity detailed
NuGet Version: 4.3.0.4406
MSBuild auto-detection: using msbuild version '15.3.409.57025' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild.
C:\... \Setup\Setup.wixproj : error MSB4057: The target "_IsProjectRestoreSupported" does not exist in the project.
这个问题只发生在tfs构建中,还是通过VS/Msbuild在本地发生? –
它发生在本地,如果我在命令行运行命令,即使我在VS上运行。我正在使用XAML构建 – HLourenco
如果是这样,似乎与TFS方面无关,建议您移除TFS标记并添加Nuget标记,以获得更准确的关注。 –