I’m playing with a Azure sample from here. After some (rather non-damaging IMO) manipulations the project will no longer build – when I hit “Build” the following appears in output:
------ Rebuild All started: Project: CloudService, Configuration: Debug Any CPU ------
Target "_CheckForInvalidConfigurationAndPlatform" in file "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\Temp\AzureAdvancedRolesSource\Ex2-StartupTasks\CS\Begin\CloudService\CloudService.ccproj" (entry point):
.... many, many more lines with nothing looking like an error, then
Task "Message"
Start - PackageComputeService
Task "Message"
ServiceHostingSDKInstallDir is C:\Program Files\Windows Azure SDK\v1.4\
Task "Message"
EnableIntelliTrace is false
Task "Message"
SiteMapping: Web:SampleWebApp -> C:\Temp\AzureAdvancedRolesSource\Ex2-StartupTasks\CS\Begin\SampleWebApp\
Task "Message"
ModelFile is
Task "Message"
OutputDirectory is bin\Debug\CloudService.csx\
Task "Message"
PackRoles is C:\Temp\AzureAdvancedRolesSource\Ex2-StartupTasks\CS\Begin\CloudService\obj\Debug\SampleWebApp\, Name=SampleWebApp, EntryPoint=SampleWebApp.dll, SourceDir=C:\Temp\AzureAdvancedRolesSource\Ex2-StartupTasks\CS\Begin\SampleWebApp\
Task "Message"
RoleProperties is SampleWebApp, EntryPoint=SampleWebApp.dll, TargetFrameworkVersion=v4.0
Task "Message"
ServiceDefinitionCopy is ServiceDefinition.build.csdef
Task "Message"
ServiceConfigurationCopy is bin\Debug\ServiceConfiguration.cscfg
Task "Message"
Calling ServicePack
Task "CSPack"
Done building project "CloudService.ccproj" -- FAILED.
Build FAILED.
I guess there’s something wrong with CSPack. How do I find out what’s wrong and how to fix that?
That turned out to be some unreproduceable problem with CSPack which I resolved by deleting all the stuff in the “cloud solution” directory (
C:\Temp\AzureAdvancedRolesSource\Ex2-StartupTasks\CS\Begin\CloudService\in the sample) except the very files that were there initially.