Edit and Continue using a Local IIS

一个人想着一个人 提交于 2019-11-30 07:30:34

Works in IIS 10.0 (Win 10):

In Administrator command line run

C:\Windows\System32\inetsrv>appcmd set apppool "DefaultAppPool" /+environmentVariables.add[@start,name='COMPLUS_ForceEnC',value='1']

(replace DefaultAppPool with app pool name you're using)

This will add tag

<environmentVariables> 
    <add name="COMPLUS_ForceEnC" value="1" /> 
</environmentVariables> 

into C:\Windows\System32\inetsrv\config\applicationHost.config for your app pool, so the app pool process always run in Edit and Continue mode.

More on the COMPLUS_ForceEnC environment variable can be found here.

See also IIS Configuration Reference

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