Paket
Paket copied to clipboard
PDBs from Analyzer packages are added to csproj
Description
PDBs files from Analyzer packages are added to the csproj file. This creates a warning: "PE image doesn't contain managed metadata".
Expample: https://www.nuget.org/packages/Microsoft.VisualStudio.SDK.Analyzers/16.6.11 (has PDBs) https://www.nuget.org/packages/Microsoft.VisualStudio.SDK.Analyzers/16.5.5 (no PDBs)
Repro steps
- Create VS Extension project (.NET Framework 4.7.2)
- Add Microsoft.VisualStudio.SDK.Analyzers
- Compile

Expected behavior
PDBs are not added, only DLLs.
Actual behavior
PDBs from Analyzer package are added to csproj.
Known workarounds
None
Latest paket version is used (https://github.com/fsprojects/Paket/releases/tag/5.247.4).
Any update on this?