I am using an "Inspector.aspx" to do some tests in my Debug build. In a Release build (and more importantly when creating an installer), I manually exclude the page (and it's related C# files) from the project.
Is there a way to automatically exclude files in a selected solution configuration in an ASP.NET project?
C++ projects give control on exclusion/inclusion per file per configuration