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,448
  • 11
  • 56
  • 85

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
  • 54,856
  • 12
  • 170
  • 184