问题描述
我使用TFS2010和的MSBuild集成了Windows Azure云解决CI。
I am using TFS2010 and MSBuild to integrate a windows azure cloud solution to the CI.
要创建所需的2文件我在的MSBuild参数中/吨增加部署:发布
To create the required 2 files for deployment I added in the "MSBuild Arguments" the /t:Publish
下面是配置我TFS用于构建软件包:
Here is the configuration I use in TFS to build the packages:
问题是:如果我删除所有参数的测试正确建立,但在构建结果没有看到蔚蓝色的包建:
Problem is : if I remove all arguments the tests are built correctly but no azure package is built as seen on the build results:
芹苴,如果我把参数包是有,但测试没有运行:
Tho if I put the parameters the package is there but the test are not run :
有没有办法兼得?
推荐答案
我讨论关于你的问题TFS和我的团队被告知,与TFS2010截至目前该功能还没有完全支持,但这样的功能在他们的雷达并可能成为未来TFS的一部分发布。
I had discussion about your problem with TFS Team and I was told that as of now with TFS2010 this functionality is not yet fully supported however such functionality is in they radar and could be part of future TFS releases.
由于您使用的是2010 TFS,这里有几个要点可以帮助:
Because you are using TFS 2010, here are a few pointers that could help:
- Building and Deploying Windows Azure Projects using MSBuild and TFS 2010
- How-To: Deploy to Windows Azure from TFS Build using DeployToAzure
这篇关于如何既包的MSBuild和使用持续集成于2010年TFS运行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!