22 June 2011

Web Standards Update for Visual Studio 2010 SP1

If you are using Visual Studio 2010 to create HTML 5 applications then you will appreciate the recently released Web Standards Update for Visual Studio 2010 SP1.  This update brings IntelliSense and validation to Visual Studio, based on the W3C specification, for HTML 5 and CSS3.

As reported by Scott Hanselman, this update provides you with IntelliSense and validation for:

HTML 5 features

Browser APIs

  • Geo-Location - Location aware websites are a clear, growing trend and now you've got full IntelliSense and validation within Visual Studio. For a nice sample, view source on the IE9 test drive demo.
  • Local Storage – IE has been supporting local storage from IE8, so now Visual Studio will provide you with full-fidelity IntelliSense to create sites which can save state within the browser. For sample of this, do a view source on HTML5 Demo Site

CSS3

You can read the full details from his blog posts here.

You can download the update (~1MB) here.  A few people have had issues with the update claiming they need to install Visual Studio 2010 SP1 when, in fact, they already have SP1 installed.  If you have a similar experience, you might try the solution provided by Wouter vanEck on the Reviews tab, summarized here:

  • Download and install the ORCA tool from Microsoft (this is a MSI editor)
  • Once installed, start ORCA and open the downloaded Web Standards Update.msi package
  • In Tables, select the "CustomAction" entry
  • Once selected, in the right pane, select the "VSDCA_VsdLaunchConditions" line, right-click and select "Drop Row"
  • Save the package and run it