# Thursday, 17 May 2012
« T-SQL Merge with XML as Source | Main | Customizing VS 2010 Database Project Pos... »

I’ve been working on automating a build on my new project for a while now and came across an interesting problem just before I was able to get the build to succeed.

I got this error:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.6\Microsoft.WindowsAzure.targets (3356): Unable to copy file "ServiceDefinition.csdef" to "ServiceDefinition.build.csdef".  Access to the path 'ServiceDefinition.build.csdef' is denied. [C:\Builds\…..

csdef_Copy_error

And after digging around I found that the ServiceDefinition.build.csdef file shouldn’t have been checked into TFS according to this thread or it needed to not be marked “read only” according to this blog entry.  I renamed the files to *.old in source control for the two cloud projects in my solution and that did the trick. (I wanted to make sure before I deleted them that this was the actual problem)

Thursday, 17 May 2012 10:43:41 (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  | 
Comments are closed.