FrameworkVersion

Change IIS ASP.NET Framework Version Programatically

I searched a good deal for a simple and easy way to change the target ASP.NET framework version for a Virtual Directory in IIS. To manually do this, you would normally open IIS and right-click the Virtual Directory you wanted to configure settings for. Then select Properties and you would be presented with a dialog like this:

iis asp.net tab

To configure this setting programatically, you can use the application:

aspnet_regiis.exe

Recent comments