Windows-API-Code-Pack-1.1
Windows-API-Code-Pack-1.1 copied to clipboard
Enable SourceLink to allow easier debugging (Step into the code of this library)
Visual Studio 2017 supports a new debug option called SourceLink which adds a JSON file to the PDB (which is now part of the NuGet package) which tells the Visual Studio Debugger to fetch the .cs files from a repository like for JSON.net based on commit hash 7217c484e9705b5e76585c8b7fcd489c8e021c23
<SourceLink>
<Conversion FilePath="/_/*" Uri="https://raw.githubusercontent.com/JamesNK/Newtonsoft.Json/7217c484e9705b5e76585c8b7fcd489c8e021c23/*" />
</SourceLink>
See the Json.net pull request how to do it.
I've not published new nuget packages but I believe I've now enabled this functionality
ok, I see that you converted the project to new SDK style, with packages reference include, but still have old packages.config present. Delete old files. I'll test it when new nugets are published
the PDBs/snupkg file is missing on nuget for 1.1.4, so sourcelink can't work. @contre
how bout now? I forgot I was supposed to package and push them so I only just uploaded them.
how bout now?
yes, it works now as expected, the symbols are loaded and I can step into the code:
