I am using Visual C # Express 2008. I want a special command to be executed only in the Release builds - this command should not be executed when creating and running Debug versions. Is it possible to implement the code depending on my build type (Debug or. Release)?
For instance:
if(??buildtype?? == "Release")
{
//... special command ...
MessageBox.Show("RELEASE version");
}
else
{
//... normal command ...
MessageBox.Show("debug release");
}
source
share