Where can I change compiler options for a C # project in VisualStudio 2008 (no command line). I need to turn off optimization to compare optimized IL code and unoptimized IL code.
[Right click on project] → Properties → Build → Optimize Code
Project Properties => New => Uncheck Optimize Code
And just like the info: if you run in the debugger, you always end up with completely unoptimized execution. Regardless of the settings.