Skip to main content

Missing CloudService issue in Orchard Project for Windows Azure

I was strugling to figure out what was wrong with my svn copy of the Orchard project, which was just updated through SVN.

When I ran the "ClickToBuildAzurePackage.cmd" command line tool, it kept erroring out.

When the Windows Azure SDK November 2011 version was released I updated the version to that, but I could not connect the dots that it could be the issue.

The updated SDK renames the "CloudService.targets" to "WindowsAzure.targets" and other related updates in the November 2011 release.

The error seems to have originated because, I had the svn for months and after running an update command through the TortoiseHg, I assumed I have the latest copy but it seems many of the files were removed added and deleted and my copy was in essense not upto date.

I tried running the "ClickToBuildAzurePackage.cmd" but it resulted in errors and it seems the errors were because of the issue with new directories not being mapped in the "AzurePackage.proj" file.

Origial value:
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Cloud Service\1.0\Visual Studio 10.0\Microsoft.CloudService.targets" />

Updated value:
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\1.6\Microsoft.WindowsAzure.targets" />

When you don't update the svn and it gets such issues than the best option is to delete the svn and start over by cloning the svn copy again. That's what I ended up doing, to resolve my issue.

Popular posts from this blog

Working hours in six months to a year

I usually try to look for how many hours I have worked on a given project and what hours that I  spend on learning or network management tasks.

Below I have added some hours calculation, after finding the breakdown by months from Berkeley website.


Credit: http://controller.berkeley.edu/payroll/payroll-system-pps/pps-training-materials/number-working-hours-month

2017Working hours six months (Jan 1st - Jun 30th): 
130 days x 8 hours =  1040 hours


Working hours six months (Jul 1st - Dec 31th): 
130 days x 8 hours =  1040 hours

Working hours for the year:
1040 hours + 1040 hours = 2080 hours
MonthWorking Days in the monthMonthly Working Hrs1/2 of working hrsMidpoint of working days in the monthDates of HolidaysJanuary22176888 a.m. 1/172,16February20160808 a.m. 2/1520March2318492Noon 3/1631April20160808 a.m. 4/17May2318492Noon 5/1629June22176888 a.m. 6/16July2116884Noon 7/174August2318492Noon 8/16September2116884Noon 9/154October22176888 a.m. 10/17November22176888 a.m. 11/1610,23,24December21168…