I am creating my own C++ nuget package for a static library that i compile (with /Zi). I added the .pdb of the library to the nuget package, alongside the .lib, but i can't include it while building the application. I get this linker error:
Warning LNK4204: 'xxx\Release\vc110.pdb' is missing debugging information for referencing module; linking object as if no debug info
How can I instruct VisualStudio, trought the .targets or .props file released with nuget, where it should find the .pdb?
Obviously, the path embedded in the .lib does not exist on my machine.
Is compiling the static library with /Z7 the only option?
Thanks