Windows Azure Websites: “The Target ‘MsDeployFilePreview’ does not exist in the project

A few days ago I was playing with Windows Azure Websites. I had a Windows Azure Cloud project with a WebRole. The project was rather simple, in fact just a normal MVC 4 website with no direct refs to Windows Azure. So this one could be deployed as a Windows Azure Website. Very interesting because with a MSDN account a number of site are free (later more).

When I tried, I got this error.

2012-06-18 23-50-41

On twitter I heard at least one other. The Windows Azure MVP mailing list came with the solution.

The solution: remove the file C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets. Then run this update ( For me this works.

Not sure what made the situation happen, but if I find out you will hear it.


Microsoft Surface

No, not the big touch table, but a real Slate was announced last night by Microsoft. The announcement took place at night in the Netherlands. Lot of fellow nerds were watching the live blogs of ZD net etc. Nobody knew about the story to be told. The secretcy was big this time.

There were already some (Samsung, Asus) available and some vendors (HP) had announced some. During the Build conference last year all the attendees got a Samsung slate with Windows 8 developer preview.

But last night also came an end to the question about the ARM Windows 8 slates. Until then nobody has seen one. Lot’s of rumours, but no pictures. But what a beautifull thing it is! The Touch cover contains a keyboard which makes it unique. Briljant, some Android tablets already had some lookalike solutions. But this one is really cool!


We have to be patient. The Surfaces don’t come before Windows 8 is general available. There will be two: with ARM processor and a normal INTEL processor. The ARM runs Windows RT with Office and the Intel runs Windows 8 pro.

Watch the complete keynote

Microsoft Surface Keynote


This will be the start of a new era.

NB Although I curious aboute the ‘old’ product with the Surface (Pixel Sense). How will it change now?


Windows Azure Websites (WAWS)

After my previous blog post a question came if you can convert a Windows Azure Cloud Service to a Windows Azure Website. The short answer is, not really needed. A Windows Azure Website is just publish the WebRole to Windows Azure. The but belongin to it.If you use settings in the ServiceConfiguration.cscfg that won’t work and if you use Role specific properties (like RoleEnvironment.CurrentRoleInstance.Id), that won’t work to. For short be aware of what you are doing.

But how do you deploy a WebRole as a Windows Azure Website (WAWS)?

First we make a WAWS. After a click on the Create Website button the Websiteis empty.


Then we go to the details of the Website.


There we download the Publish profile.


The Publish profile looks like this.


Then we go to Visual Studio 2012 RC. Rightmouse click on the WebRole and choose Publish.


This is followed by a Wizard. First import the publish profile. Then choose the configuration, preview the deployment. And if everything is alright, then we can publish for real.




When deploying is busy, this will be shown by the little moving icons and progress will be  shown in the output window.



After deployment the website will be shown.


That is really simple and looks a lot like we are used to. A Windows Azure Cloud Service can also be published like this, but it is not persistent.

Watch it! If you try it from within Visual Studio 2010, you get this error. Why is not clear yet. It looks to me using VS2010 or VS2012 should not make the difference.


Windows Azure Website are definitely not the same as Windows Azure Cloud Services. Remember this picture?


More info later when I played more with it..

Windows Azure SDK for .NET Tools 1.7

Like I wrote in my previous blog post, with the Spring release of Windows Azure a new SDK is available. I promised to get back to this later. The newSpring release SDK can be downloaded from (English) of (Nederlands). If you download it, you get version 1.7 of Windows Azure tools for Visual Studio. By clicking the Install button on the site, you can choose which version of Visual Studio you would like to install. This means indeed you can use different SDK version for the two Visual Studio’s. This can be very handy. For Visual Studio 2012 … Continue reading Windows Azure SDK for .NET Tools 1.7

Windows Azure Renewed!

Since last week Thursday (June 7 2012) is the new HTML portal of Windows Azure live and available for everyone. This new portal is a relief compared to the Silverlight one. And that was really better then this predecessor. Remember? The first portal gave the feeling to paint your hallway through the letterbox slot in the door. There was not much to manage. But that is the past, what is new on the Windows Azure Management Portal. He is now available through the And like I said before no more Silverlight, but pure HTML. The consequence of that … Continue reading Windows Azure Renewed!