This is a workaround for the following configuration:
This is the issue reported in this forum thread.
To reproduce the issue:
1. Create a new Windows Azure Cloud Service project. (File | New Project)
2. Add a Web Role to the project, this will be the web application for the Silverlight application.
3. Right click on the Solution in Solution Explorer and select “Add |New Project…” Select, a Silverlight Application
4. Use an existing web site in the solution to host the Silverlight application.
5. Open up MainPage.xaml and notice that 1. there are no controls on the Toolbox, 2. Intellisense no longer works and 3. pasting in to the XAML editor results in an “Object reference not set to an instance of an object.” error.
Fixing the issue:
1. Close Visual Studio
2. Save the attached file (Microsoft.CloudService.targets) to your local machine
3. Copy the file to:
overwriting the existing file
4. Open Visual Studio, open your Cloud Service and you’ll find you will have the controls on the Toolbox, Intellisense and you can paste in XAML without hitting the Object reference error dialog.
This issue will be fixed in our post February 2010 release.
Tons of thanks man. I like your blog content. It is soooo useful.
One thing you add here in your blog is the problem and solution related to 'path exceeding 256 charachaters'. There is a USER environment variable you need to set to tell azure dev environment to use shorter temp folder (example: C:\A ) instead of default one which is based on user profile.