Environment = VS 2010 with Azure SDK 1.7
When trying to associate an existing WebRole in my solution it starts off saying it is associated. However, as soon as it is built it returns a message
------ Build started: Project: AzureWCFHost (Server\Azure\AzureWCFHost\AzureWCFHost), Configuration: Debug Any CPU ------
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.7\Microsoft.WindowsAzure.targets(2692,5): error : WAT001 : At least one web, worker or virtual machine role is required but none could be found
Done building project "AzureWCFHost.ccproj" -- FAILED.
Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
Now the Azure project shows under Roles "No project associated".
I've reworked my solution directory structure to be more organized. This "no project associated" was not a problem when the Azure project and webrole were added to the old solution (with old directory structure). It almost looks like the Azure project can't handle a role association if that role is anywhere other than at the root of the solution.
I removed the azure project from the solution and added a blank azure project to the solution, then right clicked on Roles and associated the existing webrole project. It initially shows under Roles but as soon as a build is performed the error above occurs and it is back to saying "no project associated".
Does anyone know if Azure projects are hosed unless the default webrole directory relative to the azure project is used?