开发者

Compilation debug = true -- change without recompiling?

开发者 https://www.devze.com 2023-01-30 16:06 出处:网络
I have a build of some ASP.NET code that was compiled with <compilation debug = \"true\"> We have a major performance issue that appears to be fixed by changing this value and recompiling.Th

I have a build of some ASP.NET code that was compiled with

<compilation debug = "true">

We have a major performance issue that appears to be fixed by changing this value and recompiling. The issue is that we cannot roll back to r开发者_如何学Pythonebuild the current deployed code. Is there anything I can do to the current build?

I see many references to modifying the machine.config and adding

<configuration>
    <system.web>
          <deployment retail=”true”/>
    </system.web>
</configuration>

I see the machine.config available in the 2.0 and 4.0 framework folders but not 3.5 (which this is built for).

This is currently running in IIS7.

What can be done if anything?


touch all your aspx files after you removed the debug setting, then restart/kill the w3wp process. It should recompile them all now.

As for the DLL's in the bin directory, you are out of luck.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号