C
C#14mo ago
JenyaRostov

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
JenyaRostov
JenyaRostov14mo ago
all projects depend on the nuget library version
RubyNovaDev
RubyNovaDev14mo ago
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
JenyaRostov
JenyaRostov14mo ago
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?
RubyNovaDev
RubyNovaDev14mo ago
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?
JenyaRostov
JenyaRostov14mo ago
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
RubyNovaDev
RubyNovaDev14mo ago
Uhh...set up a reference to the csproj? I'm not really sure what else you're asking for at that point tbh
Monica
Monica14mo ago
Sorry, can't help right now
boiled goose
boiled goose14mo ago
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
JakenVeina
JakenVeina14mo ago
I also am very confused about what the actual question is
Want results from more Discord servers?
Add your server
More Posts