I have a windows form project in a solution and when I run that project (whether its via the IDE or running the .exe), I want to be able to know the ConfigurationName that the exe/project was built with. I've looked everywhere and it seems that I need to use DTE or VSLangProj objects to get this, but I can't figure out how to use them to do what I want to do.
In my MDI, I want to have an if statement similar to this:
If Project.ConfigurationName = "Release" then
can anyone help?