I have a C#.net 2008 desktop application that I set the configuration manager to 'release' mode. I know the application compiled in release mode since a release folder was generated instead of a deubg folder. However when I was running this application from my visual studio.net environment, I started the application to run in 'debug' mode. I was able to step through code. When I was looking at some configuration values, I say the application thought it was in debug mode. Thus my questions are:
1. From within the visual studio.net 2008 professional verison ide, How can I run the application in 'release mode'? What settings do I need to change and where are these setting located so the application runs in release mode?
2. When I deploy the application, how can I make certain the application is actually in release mode?