我已从 MSBuild 包恢复迁移到自动包恢复,它会在构建开始之前恢复包。 (http://docs.nuget.org/docs/workflows/migration-to-automatic-package-restore)
根据这篇文章http://docs.nuget.org/docs/reference/package-restore-with-team-buildTFS 2013 和 Visual Studio Online 不需要任何特殊配置,但我已经打开了 xaml 流程模板,并且它们不实现 NuGetRestore 活动。正如您所看到的,它可以使用,但我找不到任何有关如何正确实现它的文章。
![enter image description here](https://i.stack.imgur.com/ZXAdN.png)
I've checked all of these templates
![enter image description here](https://i.stack.imgur.com/QYmQQ.jpg)
TfvcTemplate.12.xaml 使用构建活动来动态生成 nuget 恢复操作。因此您在工作流程中看不到它。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)