Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure 至少需要一个web或worker角色,但找不到任何角色_Azure_Tfs_Msbuild - Fatal编程技术网

Azure 至少需要一个web或worker角色,但找不到任何角色

Azure 至少需要一个web或worker角色,但找不到任何角色,azure,tfs,msbuild,Azure,Tfs,Msbuild,我正在尝试使用TFS使用MSBuild构建云服务,并使用保存的构建定义请求新的构建。该项目依赖于许多其他项目 MSBuild参数我传递的是/t:Publish/p:VisualStudioVersion=12.0/p:TargetProfile=Cloud.Testing/p:IsExecutingPublishTarget=true 但我发现了以下错误 C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azur

我正在尝试使用TFS使用MSBuild构建云服务,并使用保存的构建定义请求新的构建。该项目依赖于许多其他项目

MSBuild参数我传递的是/t:Publish/p:VisualStudioVersion=12.0/p:TargetProfile=Cloud.Testing/p:IsExecutingPublishTarget=true

但我发现了以下错误

C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.2\Microsoft.WindowsAzure.targets(2756):WAT001:至少需要一个web或工作角色,但找不到任何角色


提前非常感谢

解决了:哦,我们的其他专业开发人员已将错误的.ccproj文件检入源代码管理,缺少对web角色项目的引用:-)