I have two .NET Framework applications, one a ClickOnce application and the other a web application, which I want to prevent from ever being published with the debug configuration.
How can I force Visual Studio to only ever publish them in the release configuration while still letting me build and debug in other configurations?