Is there a programmatic way from the command line to change the .NET Framework version for a particular virtual directory in IIS 7.0?
We're using the mkiisdir.exe tool from NAntContrib to create virtual directories, but we need to change the framework version to 4.0 for the newly created virtual directory. mkiisdir.exe doesn't appear to have options that allow this to be controlled.
We're looking for a way to do this either through mkiisdir.exe or another tool - whatever works.
Thanks in advance! Jeff