Tuesday, March 13, 2012

Swiching between .NET version

How do I go around swiching from say .NET 2.0 back to .NET 1.1 and vice versa. By default .NET 2.0 is running, however I only want to use that at times, not always. Can I switch it without uninstalling it ? Thanks.In the framework directory for each of the versions, you'll findaspnet_regiis.exe. If you run this program with the -i switch,it'll install that version of the framework with IIS. If you usethe /? switch you can see all of the options, including what you can doto install v1.1 for some of your ASP.Net applications, while using v2.0for others.

Hello,

there′s a "ready-to-use" application out there which I can recommend to switch between different .Net versions.

From the Official Site:http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

"The ASP.NET Version Switcher is a little utility that can be used to quickly switch the .NET Framework version that the ASPX pages are compiled against. This is helpful for developers who often have to test their web applications for compatibility with different version of the .NET Framework"
Internally, it uses the command line tool called ASPNET_REGIIS that is included in the Microsoft.NET Framework.
Additional features:
toggle if only selected vroot should be version switched or child vroots recursively (-s or -sn command line parameter)double click on node opens explorer in respective directoryquick link to IIS Manager

0 comments:

Post a Comment