Difference between <compilation debug = "true"> and .csproj options?
They are not related. The compilation tag is ASP.NET only and the project option is for Windows Forms, Console, WPF, etc.
ASP.NET compilation is so special that you need to dive even more to learn about every part of it.
source to share