Set .NET CLR Version to No Managed Code

大城市里の小女人 提交于 2020-04-06 10:05:58

问题


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.


回答1:


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




回答2:


The iis:WebAppPool/@ManagedRuntimeVersion attribute's value cannot be an empty string.



来源:https://stackoverflow.com/questions/40465558/set-net-clr-version-to-no-managed-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!