Build/Test Issues

WAT001 : At least one web or worker role is required

Started by fvilers on 13,029 views

Hi there,

I'm working on Visual Studio 2013 with NCrunch 2.9.0.8. My solution contains various assemblies and an Azure Cloud Services project with one worker role. Since I added the worker role, NCrunch complains about not finding it with error:

NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues
..\..\..\..\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.4\Microsoft.WindowsAzure.targets (2757): WAT001 : At least one web or worker role is required but none could be found


Does anyone know how to fix that? I didn't managed to find a solution by searching through the suggested link, Google AND the forums.

Thanks in advance,
Fabian

Edited

Hi Fabian,

Thanks for posting!

Unfortunately Azure projects are not officially supported by NCrunch. Most likely there is some kind of infrastructure required in order for the project to build. Is the project required for your unit testing? Perhaps you could ignore it using NCrunch?
Hi Remco,

Ignoring the Azure Cloud Services component fixed it.

Thanks,
Fabian

Post a reply

Log in to reply.