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

Wilder Minds Training
Vue.js by Example
Bootstrap 4 by Example
Intro to Font Awesome 5 (Free Course)
Designing RESTful Web APIs (new)
Building an API with ASP.NET Web API
Building an API with ASP.NET Core
Building a Web App with ASP.NET Core, MVC6, EF Core, Bootstrap and Angular
Less: Getting Started

Application Name WilderBlog Environment Name Development
Application Ver v4.0.30319 Runtime Framework x86
App Path D:\home\site\wwwroot\ Runtime Version .NET Core 3.0.0
Operating System Microsoft Windows 10.0.14393 Runtime Arch X86