Dev Environment: XP SP3, VS2008, .NET 3.5, SQL Server 2005
I would like to know if there is a way to include different code to be compiled based on the solution configuration that is currently active. We typically have three configurations for our applications: Debug, Test, Production.
For example, I have an application that sends out an email. I would like to prepend the solution configuration name being used to the email subject if the configuration is not a production configuration.