我正在使用TeamCity构建我的.net应用程序。其中一个构建步骤连接到Nuget包存储库,并尝试还原nuget包。在这个步骤中,当系统试图从特定的存储库恢复nuget包时,我看到了returned an unexpected status code '401 Unauthorized错误。如何设置凭据,以便TeamCity服务器在访问存储库时获取并传递它。
当我尝试在Teamcity中构建我的项目时(或者在我的机器上的一个干净的存储库中),错误消息会失败。The schema version of 'Microsoft.Bcl' is incompatible with version 1.7.30402.9028 of NuGet.Please upgrade NuGet to the latest version from <nuget url>...我已经将我的NuGet.Targets设置为恢复<em
[15:35:44]Parameter **"teamcity.tool.NuGet.CommandLine.DEFAULT=%teamcity.tool.NuGet.CommandLine.3.4.3%" is not fully resolved, using as is.**
[15:25:34][Step 1/3] scan:Searching for nuget