我在开发计算机上通过TeamCity运行的构建中遇到以下错误:

[ResolveServiceConfiguration] WATMessage
[16:02:05][WATMessage] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.7\Microsoft.WindowsAzure.targets(354, 5): No default service configuration "ServiceConfiguration.cscfg" could be found in the project.
[16:02:05][Xxx.Azure.Production\Xxx.Azure.Production.ccproj] Project Xxx.Azure.Production\Xxx.Azure.Production.ccproj failed.

相同的解决方案可以在VS.NET中建立。

我认为我需要做的是为每个Azure项目设置TargetProfile(有多个提示),以覆盖Cloud的默认设置,但我找不到在哪里执行此操作。

那么,如何为Azure项目设置目标配置文件?

最佳答案

您是否尝试过在命令行中设置目标配置文件?

/p:TargetProfile=MyProfile

关于visual-studio-2010 - 为Azure项目设置TargetProfile,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/11348551/

10-14 17:24
查看更多