Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Is it Possible to Get Line Numbers for NuGet Packages in a Stack Trace?

$
0
0

I'm wondering if it's possible to via a setting or option of some kind to get line numbers to appear in a stack trace for code in a NuGet package that's being used by a .Net app. The example screenshot below may make my question clearer.

enter image description here

The green boxed section is the .Net app and the red boxed section is code in a NuGet package being consumed and called by the app. I'm wondering if there's a way to get a line number to show up where the red arrow is? Some of our packages are hundreds of lines long and having the ability to see the line number where the error occurred in the NuGet package code would be very helpful.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>