iiswixasp.net-core

Set .NET CLR Version to No Managed Code


Im trying to build an installer for my asp.net core service, but im having problems setting the .NET CLR Version on IIS app pool. Is there any way to set it to No Managed Code?

Setting <iis:WebAppPool ManagedRuntimeVersion="No Managed Code"> results in error The worker process failed to pre-load .Net Runtime version No Managed Code.


Solution

  • Solution is to use "" instead of "No Managed Code" when setting managedRuntimeVersion.