Can I disable App_Code auto-compilation?

Work with Visual Studio (I use 2008). I began to notice that when saving a file in the / App _Code folder, the program freezes a bit before returning control. After a little research, I found out that there is an auto-compilation function at work, which I believe slows down my system.

So, the question is: is it possible to disable automatic compilation of files in the / App _Code folder? Or, even better, is there a way to reduce the time it takes, or make it work a little smoothly in the background? Any thoughts / ideas are welcome!

+4
source share
2 answers

Sorry, I do not know how to disable comp_app_code folder compilation. If this is a problem, I will try to keep the number of files in this directory to a minimum or even move them to a separate library.

ScottGu has some useful tips that you might find useful. https://weblogs.asp.net/scottgu/Tip_2F00_Trick_3A00_-Optimizing-ASPNET-20-Web-Project-Build-Performance-with-VS-2005

+3
source

No, you cannot disable the app_code folder.

0
source

All Articles