Friday, January 6, 2012

Windows Azure - Access to the path '' is denied.

If you receive this error:
Error 102 Unable to copy file "ServiceDefinition.csdef" to "". Access to the path '' is denied. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.4\Microsoft.WindowsAzure.targets

The problem is that the file '' is read-only. You will be able to find this file in your cloud project (.ccproj) directory. If you remove the read-only setting, the error will disappear and build and publish commands will work properly.