TFS 2010并创建一个包 [英] TFS 2010 and creating a package

查看:156
本文介绍了TFS 2010并创建一个包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行带有标志的构建 / p:CreatePackageOnPublish = true / p:DeployOnBuild = True

I am running the build with the flags /p:CreatePackageOnPublish=true /p:DeployOnBuild=True

代理创建一个文件夹:

C:\Builds\99\MyWebProject\Sources\WebProj\Web\obj\Debug\Package\PackageTmp

部署。但是,此文件夹不具有不在源代码控制中但在后期构建事件期间创建的文件。我希望这些文件也被包含在包中(但是不能将它们添加到源控件中,因为它们将在后面创建)。

that is used when the package is deployed. However, this folder does NOT have the files that are not in source control but are created during the post build event. I'd like these files to be included in the package as well (but can't add them to the source control as they are created later).

如何处理这个问题?

推荐答案

唯一的办法就是将文件添加到源代码控制。

The only way I could do this was to add files to source control.

这篇关于TFS 2010并创建一个包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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