I came across approaches in creating virtual directory in IIS (worth mentioning are those using IISVirtualRoot of System.EnterpriseServices.Internal and the others using DirectoryEntry class).
With those I am now able to create virtual directories programmatically.
My problem however is that the IIS where I will be deploying the project supports both .NET 1.1 and 2.0
Is there a way to programmatically select the .NET version that the virtual directory will use?
Would appreciate any help.