File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 404
404
<ILFile >$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(AssemblyName).il'))</ILFile >
405
405
</PropertyGroup >
406
406
407
+ <!-- Ensures the DebuggableAttribute has the appropriate optimizations enabled. -->
408
+ <PropertyGroup >
409
+ <DebugEnableJitOptimization >false</DebugEnableJitOptimization >
410
+ <DebugEnableJitOptimization Condition =" '$(Configuration)' == 'Release'" >true</DebugEnableJitOptimization >
411
+ </PropertyGroup >
412
+
407
413
<!--
408
414
Make a backup before overwriting $(TargetFile)
409
415
-->
417
423
Out =" $(TargetFile)"
418
424
Dll =" true"
419
425
Debug =" true"
426
+ DebugEnableJitOptimization =" $(DebugEnableJitOptimization)"
420
427
Quiet =" true" />
421
428
422
429
<ILAsmTask ILAsm =" $(ILAsm)"
426
433
Out =" $(TargetFile)"
427
434
Dll =" true"
428
435
Debug =" true"
436
+ DebugEnableJitOptimization =" $(DebugEnableJitOptimization)"
429
437
Quiet =" true" />
430
438
</Target >
431
439
You can’t perform that action at this time.
0 commit comments