开发者

Compile ASP.NET MVC 2 application in Release mode, but have detailed error messages

开发者 https://www.devze.com 2023-02-05 20:00 出处:网络
Good day! I\'d like to compile my MVC application in Release mode, but have line numbers in error messages which I write to log.

Good day!

I'd like to compile my MVC application in Release mode, but have line numbers in error messages which I write to log.

Can this be achived by setting "Build" -> "Advanced" -> "Debug Info" -> "Full"

Default for Debug is "full", f开发者_如何转开发or Release "pdb-only".

Thanks!


Yes it can.

See also Getting line number from pdb in release mode and Display lines number in Stack Trace for .NET assembly in Release mode

0

精彩评论

暂无评论...
验证码 换一张
取 消