我在构建我的C#解决方案时遇到了问题。如果我清理解决方案并再次构建它,它将无法构建(我可以这样做几次,然后它就会构建)。它有一个关于Azure项目在工作人员和Web项目之前构建的错误依赖项。此外,大多数解决方案中的项目都在寻找...
WAT070 : The referenced assembly {...}/Worker.dll was not found.
Please make sure to build the role project that produces this assembly before building this Windows Azure Cloud Service Project.
{...}\VisualStudio\v12.0\Windows Azure Tools\2.2\Microsoft.WindowsAzure.targets 1252 5 AzureProjectName
现在,如果我按照“项目依赖项 - 构建顺序”中列出的顺序构建项目,一切都可以正常工作。此外,在 Azure 项目之前列出了 Web 和 Work 角色。