TeamCity 用于与 Visual Studio 2010 解决方案/项目持续集成

发布于 2024-09-01 03:24:03 字数 459 浏览 5 评论 0原文

我在虚拟机上运行 TeamCity build 5.1.1,该虚拟机也托管我们的 SVN 环境。我支持的一个团队最近从 Visual Studio 2008/Silverlight 3.0 迁移到 Visual Studio 2010/Silverlight 4.0,在研究如何与 Visual Studio 2010 解决方案/项目进行持续集成时,它并不像看上去那样一成不变。在 Visual Studio 2008 中。以前,我使用 Web 部署项目并针对 TeamCity 中的不同发布配置,这将使用 Web 部署项目将代码打包/部署到我们的各种环境。但是,当检查 Visual Studio 2010 中的新发布功能时,我找不到指定部署到哪个位置的方法。现在是否需要在 MSBuild 中完成所有操作(在解决方案文件中或者可能在 Web 项目文件中?)。如果有人有任何关于如何使用 TeamCity 和 Visual Studio 2010 进行持续集成的示例,我将不胜感激,因为我目前一无所知。

I am running TeamCity build 5.1.1 on a virtual machine that also hosts our SVN environment. A team I support has recently made the move from Visual Studio 2008/Silverlight 3.0 to Visual Studio 2010/Silverlight 4.0 and when investigating how to do continuous integration with Visual Studio 2010 solutions/projects, it is not as cut and dried as it appeared to be in Visual Studio 2008. Previously I was using Web Deployment Projects and targeting different Release Configurations in TeamCity, which would use the Web Deployment Project to package/deploy the code to our various environments. However when checking out the new Publish ability in Visual Studio 2010 I cannot find a way to specify which location to deploy to. Does everything need to be done in MSBuild now (in the solution file or maybe the Web project file?). If anyone has any examples of how they've done Continuous Integration using TeamCity and Visual Studio 2010, it would be greatly appreciated as I am coming up blank at the moment.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

书信已泛黄 2024-09-08 03:24:03

我找到了以下内容:

http://www.microsoft.com/downloads/details.aspx?FamilyID=711a2eef-b107-4784-9063-c978edc498cd&displaylang=en

看起来 VS 2010 中有一个 Web 部署项目的测试版在此刻。仍然对是否有一种方法可以使用发布/打包功能最终完成此任务感兴趣,因为微软似乎在这方面投入了更多时间。

I was able to find the following:

http://www.microsoft.com/downloads/details.aspx?FamilyID=711a2eef-b107-4784-9063-c978edc498cd&displaylang=en

Looks like there is a beta for Web Deployment Projects in VS 2010 at this point. Still interested in if there is a way to ultimately accomplish this using the Publish/Package functionality, as it seems like Microsoft has invested a lot more time into that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文