Closed jochenwezel closed 3 years ago
There should be no compiler warning
I get following warnings in VisualStudio in my project which references PDFsharp and PDFsharp-MigraDoc via NuGet:
3>E:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3854,5): warning MSB3112: Mindestens zwei Assemblies besitzen dieselbe Identität "PdfSharp.Charting.resources, Version=1.50.5147.0, Culture=de, PublicKeyToken=F94615AA0424F9EB, ProcessorArchitecture=msil". 3>E:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3854,5): warning MSB3112: Mindestens zwei Assemblies besitzen dieselbe Identität "PdfSharp.resources, Version=1.50.5147.0, Culture=de, PublicKeyToken=F94615AA0424F9EB, ProcessorArchitecture=msil". 3>E:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3854,5): warning MSB3181: Für mindestens zwei Dateien ist derselbe Zielpfad "C:\Users\user\.nuget\packages\pdfsharp\1.50.5147\lib\net20\de\PdfSharp.Charting.resources.dll" angegeben. 3>E:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3854,5): warning MSB3181: Für mindestens zwei Dateien ist derselbe Zielpfad "C:\Users\user\.nuget\packages\pdfsharp\1.50.5147\lib\net20\de\PdfSharp.resources.dll" angegeben.
Remove the PDFsharp NuGet package from your project and the issue is solved.
Thanks, that was the point! 👍
Expected Behavior
There should be no compiler warning
Actual Behavior
I get following warnings in VisualStudio in my project which references PDFsharp and PDFsharp-MigraDoc via NuGet: