Ziff Davis EnterpriseDevLife
Advertisement

Monday, August 11, 2008 8:11 AM/EST

Making sure your Silverlight 2.0 App installs the SL2.0 runtime

The Silverlight 2.0 Annotation Sample Application that I deployed based on my recent MSDN Magazine (August 2008 issue) article, Write On! Create Web Apps You Can Draw On with Silverlight 2 had originally been written in an earlier beta of Silverlight.

When I deployed it and tested, all of of my test machines (a tablet running Vista, a non-tablet running vista and a non-tablet running WinXP) already had Silverlight 2.0 installed and all was fine.

But Shawn Wildermuth who is a Silverlight guru (check out his renowned Silverlight Tour) pinged me to say that if the client machine didn't have Silverlight installed, the installer would install Silverlight 1.0, not 2.0. He said that my app must be referencing an older version. But I couldn't figure out where that might be.

I finally discovered that even though the control embedded in my page had the Version =2.0 attribute in it, it wasn't until I added in the MinimumVersion attribute that the proper version of Silverlight would install to a user's computer.

It was also a good lesson for me in testing Silverlight deployments a bit more thoroughly.

TrackBack

TrackBack

http://blogs.devsource.com/cgi-bin/mte/mt-tb.cgi/14578

Post a Comment

 
 

Advertisement

Syndication

Subscribe: