Virtual Directory Versioning Applications using ASP.NET 2.0 RRS feed

  • Question

  • Hi,

    I have a question, from the following website I found out that By default when you install ASP.NET 2.0 on a machine that has ASP.NET V1.1 already installed, it does not automatically upgrade these apps to use the new version.  Instead, administrators get to choose which app uses which version.


    but what if I want to make 2.0 to be the default option instead of 1.1.

    Can I do this programatically?

    Thank you in advance,

    Chris Doloriert
    Monday, July 31, 2006 6:47 PM


  • You are looking for the aspnet_regiis.exe tool in the .NET framework directory. You can specify the "version of the ASP.NET for a virtual folder(s)" i.e., the ASP.NET script mapping using this tool. Check out this MSDN article.

    You can use the Exec task to use this tool from within MSBuild.
    Monday, July 31, 2006 7:52 PM