Setting up a Silverlight 4 development environment

16Jan11

I had to run through a complete workstation setup recently including installation of Visual Studio and the Silverlight development tools so I wanted to write up a quick blog post to document the process.

I started off with a clean installation of Visual Studio 2010. This will install some project templates for Silverlight by default but unfortunately this will not be sufficient for development out of the box. At the minimum we will need to have the Silverlight developer runtime in addition to the project templates. Additionally, the templates included in the VS2010 installer are for an older 3.0 version of Silverlight. Not quite what we want.

To rectify all of this, we need to install the Silverlight 4 Tools for Visual studio, available from Microsoft here.

The installer includes the following components. This can be used to check for previously installed software that may have come from previous attempts to get everything installed.

  • Silverlight 4 developer runtime
  • Silverlight 4 SDK (software development kit)
  • Update for Visual Studio 2010 and Visual Web Developer Express 2010 (KB982218)
  • Silverlight 4 Tools for Visual Studio 2010
  • WCF RIA Services V1.0 for Silverlight 4
  • F# Runtime for Silverlight 4


Although the developer runtime is listed among the components that this package should install, I’ve found that it must be installed separately as outlined below.

Grab the file Silverlight_Developer.exe from here and install.

Once both of these packages have been installed you should be able to open Visual Studio and create a new Silverlight project as shown in the screenshot below.

If everything has been installed properly you should get prompted for a project options dialog for setting up the new Silverlight project.

Hopefully this helps you get up and running with your Silverlight development environment.

Advertisements


No Responses Yet to “Setting up a Silverlight 4 development environment”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: