Visual Studio在线:Nuget包恢复失败
Visual Studio Online: Nuget Package restore fails
我正在 Visual Studio 在线设置持续部署,我的第一个任务是恢复 Nuget 包。
我有一个需要 Nuget 客户端 v3.4+ 的私人提要。
Visual Studio online task gives me this output:
2017-03-10T13:39:25.2130485Z ##[section]Starting: NuGet restore **/*.sln
2017-03-10T13:39:25.2620473Z ==============================================================================
2017-03-10T13:39:25.2620473Z Task : NuGet Installer
2017-03-10T13:39:25.2620473Z Description : Installs or restores missing NuGet packages
2017-03-10T13:39:25.2620473Z Version : 0.2.29
2017-03-10T13:39:25.2620473Z Author : Microsoft Corporation
2017-03-10T13:39:25.2620473Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613747)
2017-03-10T13:39:25.2620473Z ==============================================================================
2017-03-10T13:39:26.5963540Z [command]C:\Windows\system32\chcp.com 65001
2017-03-10T13:39:26.6283512Z Active code page: 65001
2017-03-10T13:39:26.7953529Z Detected NuGet version 3.3.0.212 / 3.3.0
有没有办法在这个任务中使用更新版本的客户端?
解决方案就在我眼前
在 nuget 包恢复任务中有一个 Advanced collapse 字段。
打开可以选择nuget 3.5!
我正在 Visual Studio 在线设置持续部署,我的第一个任务是恢复 Nuget 包。
我有一个需要 Nuget 客户端 v3.4+ 的私人提要。
Visual Studio online task gives me this output:
2017-03-10T13:39:25.2130485Z ##[section]Starting: NuGet restore **/*.sln
2017-03-10T13:39:25.2620473Z ==============================================================================
2017-03-10T13:39:25.2620473Z Task : NuGet Installer
2017-03-10T13:39:25.2620473Z Description : Installs or restores missing NuGet packages
2017-03-10T13:39:25.2620473Z Version : 0.2.29
2017-03-10T13:39:25.2620473Z Author : Microsoft Corporation
2017-03-10T13:39:25.2620473Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613747)
2017-03-10T13:39:25.2620473Z ==============================================================================
2017-03-10T13:39:26.5963540Z [command]C:\Windows\system32\chcp.com 65001
2017-03-10T13:39:26.6283512Z Active code page: 65001
2017-03-10T13:39:26.7953529Z Detected NuGet version 3.3.0.212 / 3.3.0
有没有办法在这个任务中使用更新版本的客户端?
解决方案就在我眼前
在 nuget 包恢复任务中有一个 Advanced collapse 字段。
打开可以选择nuget 3.5!