Running Silverlight 2 and 3 On Same Machine - Redux!


Silverlight Logo

I've been using Amy Dullard's great batch file for switching the tools back and forth between Silverlight 2 and Silverlight 3. It works great except that it doesn't change the runtime. And while the Silverlight 3 runtime *should* run any Silverlight 2 code fine, I just don't trust it. So I had to make it better.

I've made a small change in Amy's batch file to uninstall and install the right runtime, but there is a hitch. You need to download the runtimes yourself (as they are downloaded during installation and since Amy's batch is opening up the Setup package, they aren't there).

To use the batch file you'll need to download the file (here) and unzip it into an empty directory.  Into that directory copy the following files:

You can download them by clicking on the links.

If you haven't done so already, run the Silverlight 2 Tools Package and the Silverlight 3 Tools Package.  Finally you can run the Setup_SLTools_Util.bat file that is in the zip file.  This will create new batch files for moving two and from SL2/SL3 for Visual Studio and Visual Web Developer Express.  Please see Amy Dullard's post about it for more information about how the batch files are used:


Shawn Wildermuth
Author, Teacher, and Coach

My Courses

Building a Web App with ASP.NET Core, MVC6, EF Core, Bootstrap and Angular (updated for 2.0)
Using Visual Studio Code for ASP.NET Core Projects (new)
Implementing and Securing an API with ASP.NET Core
Building a Web App with ASP.NET Core, MVC6, EF Core and AngularJS
Building a Web App with ASP.NET5, MVC6, EF7, and AngularJS (Retired)
Best Practices in ASP.NET: Entities, Validation, and View Models
Webstorm Fundamentals
Front-End Web Development Quick Start
Lessons from Real World .NET Code Reviews
Node.js for .NET Developers

Application Name WilderBlog Environment Name Production
Application Ver Runtime Framework .NETCoreApp,Version=v2.0
App Path D:\home\site\wwwroot\ Runtime Version .NET Core 4.6.26020.03
Operating System Microsoft Windows 10.0.14393 Runtime Arch X86