Editing and Continuing to Use Local IIS

Is it possible to enable the Edit and Continue option in Visual Studio when debugging with Local IIS instead of IIS express?

+4


source to share


1 answer


Works in IIS 10.0 (Win 10):

In the admin command prompt, run

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

      

(replace DefaultAppPool

with the name of the application pool you are using)

This will add the tag



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

      

c C:\Windows\System32\inetsrv\config\applicationHost.config

for the application pool, so the application pool process always runs in edit and continue mode.

More information about the COMPLUS_ForceEnC

environment COMPLUS_ForceEnC

can be found here .

See also IIS Configuration Reference.

+13


source







All Articles