仅使用 Team Foundation Build 构建选定项目 [英] Building select projects only with Team Foundation Build

查看:22
本文介绍了仅使用 Team Foundation Build 构建选定项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置 Team Foundation Build,到目前为止它在构建、测试和代码分析方面运行良好.

I’m trying to set up Team Foundation Build and so far it’s running ok with builds, tests and code analysis.

我的问题是,我不知道如何只构建解决方案中包含的项目的一个子集.我知道如何使用配置管理器创建自定义解决方案配置,以构建/部署我选择的项目.但是当我创建一个新的构建定义时,我只能得到默认的调试"和发布"配置.

My problem is, that I can’t figure out how to build just a subset of the projects included in the solution. I know how to use the configuration manager to create custom solution configuration that will build/deploy a selection of my projects. But when I create a new build definition, I only get the default "Debug" and "Release" configurations.

替代文字 http://img686.imageshack.us/img686/7453/builddefinitionprojectf.jpg

如何设置仅包含解决方案中选择的项目的 Team Foundation Build?

How do I set up a Team Foundation Build that only includes a selection of the projects in the solution?

我知道我在这里可能走错了路,但我已经研究了一段时间,到目前为止,这是我最好的猜测.

I know I may be on the completely wrong track here, but I've been digging around for a while and so far it's my best guess.

推荐答案

您的自定义配置不会出现在构建定义向导中,因为我们不解析解决方案文件格式.但是,您可以直接输入它,无需手动编辑 TFSBuild.proj 文件即可正常工作.

Your custom configurations won't appear in the build definition wizard because we don't parse the solution file format. You can, however, just type it in and that will work just fine without manually editing the TFSBuild.proj file.

这篇关于仅使用 Team Foundation Build 构建选定项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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