Adjust to disable "Debugging Not Enabled" messagebox?
-
I'm using V.Studio 2005 to program ASP.NET 2.0 pages. For every first debug run of my app, a dialog box titled "Debugging Not Enabled" will show. It always has two options: 1. Modify the Web.config file to enable debugging 2. Run without debugging. (Equivalent to Ctrl+F5) I always have to select one of the option to continue with. Is there any setting I can adjust to eliminate this message box for all subsequent new ASP.NET pages? Thanks for your reply...
Pedestrian, Penang.
-
I'm using V.Studio 2005 to program ASP.NET 2.0 pages. For every first debug run of my app, a dialog box titled "Debugging Not Enabled" will show. It always has two options: 1. Modify the Web.config file to enable debugging 2. Run without debugging. (Equivalent to Ctrl+F5) I always have to select one of the option to continue with. Is there any setting I can adjust to eliminate this message box for all subsequent new ASP.NET pages? Thanks for your reply...
Pedestrian, Penang.
First you may have to read this: from msdn. However VS automatically adds the debug=false to the compilation property in the web site project's web.config file. Hence you may have to change the VS template - to assign the value "true". Recall that you should set debug=false before deploying in order to remove all debugging information. VS template reference could be found in: Visual Studio Template Reference and you can find more articles on the web. Finally, there may be a very simple way to acomplish this - nothing that I know about. Best regards, elaj
-
First you may have to read this: from msdn. However VS automatically adds the debug=false to the compilation property in the web site project's web.config file. Hence you may have to change the VS template - to assign the value "true". Recall that you should set debug=false before deploying in order to remove all debugging information. VS template reference could be found in: Visual Studio Template Reference and you can find more articles on the web. Finally, there may be a very simple way to acomplish this - nothing that I know about. Best regards, elaj
Elaj, thanks a lot for your valuable answer. :)
Pedestrian, Penang.