更新我的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標記,以獲得更準確的關注。 –