TeamCity 用于与 Visual Studio 2010 解决方案/项目持续集成
我在虚拟机上运行 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我找到了以下内容:
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.
Visual Studio® 2010 Web 部署项目 - RTW
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=89f2c4f5-5d3a-49b6-bcad-f776c6edfa63&displaylang=en
Visual Studio® 2010 Web Deployment Projects - RTW
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=89f2c4f5-5d3a-49b6-bcad-f776c6edfa63&displaylang=en