Reputation: 19011
Where I can change compiler options for C# project in VisualStudio 2008 (without command prompt). I need it to turn off optimization to compare optimized IL-code and unoptimized IL-code.
Upvotes: 2
Views: 750
Reputation: 5755
And just as info: If you run in the debugger you will always get completely unoptimized execution. Regardless of the settings.
Upvotes: 0
Reputation: 49534
[Right Click the Project] -> Properties -> Build -> Optimize Code
Upvotes: 3