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.
Unmanaged Code. It is executed by managed runtime environment or managed by the CLR. It is executed directly by the operating system. It provides security to the application written in . NET Framework.
NET is sometimes called a "managed code" runtime. It's called managed primarily because it uses a garbage collector for memory management and because it enforces type and memory safety. The CLR virtualizes (or abstracts) various operating system and hardware concepts, such as memory, threads, and exceptions.
Solution is to use "" instead of "No Managed Code" when setting ManagedRuntimeVersion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With