【问题标题】:At least one web or worker role is required but none could be found至少需要一个网络或辅助角色,但找不到
【发布时间】:2015-04-27 06:47:38
【问题描述】:

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

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 或 worker 角色是需要,但找不到

在此先感谢

【问题讨论】:

    标签: azure tfs msbuild


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-07-06
      • 1970-01-01
      • 2020-04-11
      • 2013-08-07
      • 2011-07-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多