Open retifrav opened 4 years ago
Hi and many thanks for this nice Blog Entry. What about debugging and source indexing? You use a static lib, and i can't get source indexing to work, because resulting .pdb of a static lib has no source file Path information.
If you need to add .pdb
(or any other) files into the package, you just add them. In my case I simply didn't.
And speaking about Release/Debug, NuGet doesn't really provide means to pack both Release and Debug binaries into one package so build system could switch between them. I discovered it later when I was creating a NuGet package for a C#/.NET library. So here with C++ library I basically just use NuGet almost as a regular archive, but in general, from what I saw on the internets, people create two packages: one for Release and one for Debug.
NuGet C++ package in Azure DevOps Artifacts comments.