修改TFS流程模板以实现Nuget软件包还原 [英] Modifying TFS process template to implement Nuget Package Restore

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

问题描述

我已经从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软件包还原的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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