Ability to set Application Pool CLR to No Managed Code
As of Octopus 3.3, the 2 options are:
- 2.0 (for .Net 2.0 and 3.5)
- 4.0 (for .Net 4.0 and 4.5)
It might be useful to also add the option "No Managed Code"
I am happy to say this has been completed and will be shipped with 3.3.7.
John Cruikshank commented
Until this is available, a post-deploy powershell script can adjust the setting.
Import-Module WebAdministration -ErrorAction SilentlyContinue
$appPool = "IIS:\\AppPools\" + $ApplicationPoolName
Set-ItemProperty $appPool managedRuntimeVersion ""
Yes, should be added
William Roush commented
Highly needed for ASP.NET Core Support.