From the course: Creating, Debugging, and Deploying NuGet Packages in ASP.NET
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Debugging NuGet packages with Source Link
From the course: Creating, Debugging, and Deploying NuGet Packages in ASP.NET
Debugging NuGet packages with Source Link
- [Instructor] Another debugging technique or method is enabling SourceLink. SourceLink is a technology that enables your debugger to link the binaries of a NuGet package with the original source code in repository. So SourceLink is important because it links your binaries to the exact same source code, enabling you to debug as if you had the original source files right in your project. Other than that, whether debugging locally or remotely, SourceLink ensures that you are always working with the correct version of the source code, reducing discrepancies and errors. Last but not least, by sharing packages with SourceLink enabled, team members and other developers can debug issues effectively even if they don't have direct access to the source code repository. It's also important to know that SourceLink does support different source control providers like GitHub, Azure DevOps, Bitbucket, et cetera. Now let us go to Visual Studio and see it in action. In Visual Studio, I have opened the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Setting up a local NuGet feed and using local packages5m 33s
-
(Locked)
Debugging NuGet packages with local projects4m 4s
-
(Locked)
Debugging NuGet packages with local NuGet versions6m 47s
-
(Locked)
Debugging NuGet packages with symbol packages6m 53s
-
(Locked)
Debugging NuGet packages with Source Link8m 54s
-
(Locked)
Choosing the right NuGet debugging method3m 59s
-
(Locked)
Other NuGet Debugging techniques4m 45s
-
-
-