修改TFS流程模板实现Nuget Package Restore [英] Modifying TFS process template to implement Nuget Package Restore

查看:20
本文介绍了修改TFS流程模板实现Nuget Package Restore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 MSBuild 包还原迁移到自动包还原,它在构建开始之前还原包.(http://docs.nuget.org/docs/workflows/migrating-to-automatic-package-restore)

I've migrated away from the MSBuild package restore to the automatic package restore which restores packages before the builds begins. (http://docs.nuget.org/docs/workflows/migrating-to-automatic-package-restore)

根据这篇文章 http://docs.nuget.org/docs/reference/package-restore-with-team-build TFS 2013 和 Visual Studio Online 不需要任何特殊配置,但我已经打开了 xaml 流程模板,他们没有实现NuGetRestore 活动.如您所见,它可以使用,但我找不到任何关于如何正确实施它的文章.

According to this article http://docs.nuget.org/docs/reference/package-restore-with-team-build TFS 2013 and Visual Studio Online don't need any special configuration, but I've opened up the xaml process templates and they do not implement the NuGetRestore activity. As you can see it's available for use, but I can't find any articles on how to implement it properly.

我已经检查了所有这些模板

I've checked all of these templates

推荐答案

TfvcTemplate.12.xaml 使用构建活动,该活动可即时生成 nuget 还原操作.因此,您在工作流程中看不到它.

The TfvcTemplate.12.xaml makes use of a build activity which generates the nuget restore action on the fly. Therefore you don't see it in the workflow.

这篇关于修改TFS流程模板实现Nuget Package Restore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆