开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜