debug help
let's assume i have a bunch of projects which all depend on one library
this library and projects i have in git
this library also is in a private nuget feed
how would i debug those projects together with the library without hassle? use a local feed?
9 Replies
all projects depend on the nuget library version
I think you'd just need to copypasta the pdbs in for that version
You might be able to do some fancy bells and whistles thing for this but shortest way is to just copypasta them from the source build elsewhere on your system
You might also need to disable just my code in the debugger
yeah, but another question is
for example i cloned one of these projects and want to debug it with my library
i update the library code and how should i update this project dependency?
I think the easiest way is to update the nuget feed it's using to include the pdbs
Soooo
You'll probably have to write a custom msbuild target to include those because of the changes the sdk style projects made
@Monica you're an msbuild wizard right?
no i don't really need pdbs
what im saying is that i need to debug updating my library multiple times quickly
preferably without bumping the nuget version
Uhh...set up a reference to the csproj?
I'm not really sure what else you're asking for at that point tbh
Sorry, can't help right now
if you have all the projects on your drive and they are in the position where they were originally compiled, then visual studio should be able to follow the disassembly
if not you still should be asked where the source code is
if you have set the debugging settings accordingly
it depends on a bunch of things
I also am very confused about what the actual question is