Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

WAT001 : At least one web or worker role is required
fvilers
#1 Posted : Thursday, September 11, 2014 8:05:33 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/11/2014(UTC)
Posts: 2
Location: Belgium

Thanks: 1 times
Was thanked: 2 time(s) in 1 post(s)
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:

Quote:
NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/d...ng_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
Remco
#2 Posted : Thursday, September 11, 2014 9:32:28 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
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?
1 user thanked Remco for this useful post.
fvilers on 9/11/2014(UTC)
fvilers
#3 Posted : Thursday, September 11, 2014 9:35:28 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/11/2014(UTC)
Posts: 2
Location: Belgium

Thanks: 1 times
Was thanked: 2 time(s) in 1 post(s)
Hi Remco,

Ignoring the Azure Cloud Services component fixed it.

Thanks,
Fabian
2 users thanked fvilers for this useful post.
Remco on 9/11/2014(UTC), stevelydford on 4/22/2015(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.031 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download