1

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", for Release "pdb-only".

Thanks!

artvolk
  • 9,338
  • 11
  • 53
  • 84

1 Answers1

1

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

Community
  • 1
  • 1
marapet
  • 52,314
  • 12
  • 158
  • 173