I am working on an ASP.NET MVC web application which I am hosting as a Web App on Azure
I am following the steps as mentioned in the post by ScottGu link to enable tracing
But I am running into a strange problem, when I publish my app using the Visual Studio DEBUG build configuration on Azure tracing works, but when I use any other configuration (ex - TEST or RELEASE) it doesn't. I also compared the web.configs for the different configuration and they are identical..
What am I doing wrong ?
答案 0 :(得分:1)
由于您在不同的配置中有不同的行为,我觉得在您的项目中未选中定义 TRACE 常量&#39 ; 构建标签下的配置。确保已检查所有配置。