Compiler options for a C # project
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.
+2
AndreyAkinshin
source
to share
3 answers
[Right click on project] → Properties → Build → Optimize Code
+3
John Gietzen
source
to share
Project Properties => New => Uncheck Optimize Code
+2
Moayad mardini
source
to share
And just like the info: if you run in the debugger, you always end up with completely unoptimized execution. Regardless of the settings.
0
Foxfire
source
to share