VS2010 SP1 New Features: Silverlight 4 Support

Tips Search

If you like the tips then you'll love the book!

Order your copy today:
http://www.amazon.com/gp/product/0735649928

VS2010 SP1 New Features: Silverlight 4 Support

  • Comments 2

Versions: 2010 SP1

Languages: C#, VB

Code: vstipProj0031

 

 

Before we get started with today’s tip, just a little house-cleaning:  I am a couple of posts behind on the blog and will be catching up this week with an additional post on Thursday.  Also, I have decided to stop producing videos for the time being.  I am re-evaluating if the videos make sense or if the time is better spent on more blog posts.  And, with that said, on with today’s blog post!

 

 

When you create a new Silverlight Project in Visual Studio 2010 with Service Pack 1 you now have support for Silverlight 4 included. Specifically, this “[…] adds support for targeting Silverlight 4 in the Silverlight designer and project system. This also provides support for the new Silverlight 4 technology improvements. This new technology includes working with implicit styles and Silverlight 4 Out-of-Browser (OOB) applications. You can automatically start and debug your OOB application from inside the IDE, specify XAP signing for trusted OOB applications, and set the OOB window characteristics.”

http://support.microsoft.com/kb/983509

 

When you go to create a new Silverlight Project you may see the following dialog if you don’t have the latest developer runtime version installed:

image

 

Silverlight 4 is now the default version when you create new projects. You can choose a different version when you create most Silverlight projects:

image

 

In the case of Silverlight Business Application and WCF RIA Services Class Library projects you will have to go to the project properties on the Silverlight tab to change your version:

image

  • On the start page of VS2010 I get the following error: "An error has occured:'Cannot set unknown memeber 'System.windows.Controls.Image.Padding'.'Line number 1 and line position '2014'.

  • Gahhh!  Sorry Bob.  That's my fault.  Try it now.  Just for reference it's the VS Tips and Tricks Extension that, in typical MS fashion, the folks in Redmond made and then abandoned.  I'm working on getting the source and having the old one removed from the gallery so I can get the problem fixed.

    Z

Page 1 of 1 (2 items)
Leave a Comment
  • Please add 4 and 1 and type the answer here:
  • Post