RazorEngineCore icon indicating copy to clipboard operation
RazorEngineCore copied to clipboard

adjust optimize level when options.IncludeDebuggingInfo is true.

Open netpyoung opened this issue 1 year ago • 0 comments

Debug example doesn't working well on my machine then I figured out there is not enough information for debuging.

Before

                .WithOptimizationLevel(OptimizationLevel.Release)

K-003

After

                .WithOptimizationLevel(options.IncludeDebuggingInfo ? OptimizationLevel.Debug : OptimizationLevel.Release)

K-004

netpyoung avatar Nov 18 '24 22:11 netpyoung