简体   繁体   中英

Compiler options for C# project

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.

[右键单击项目]->属性->构建->优化代码

项目属性=>构建=>取消选中优化代码

And just as info: If you run in the debugger you will always get completely unoptimized execution. Regardless of the settings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM