Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build warning from conflicting MathNet.Numerics packages #1858

Open
jas88 opened this issue Jun 16, 2024 · 0 comments
Open

Build warning from conflicting MathNet.Numerics packages #1858

jas88 opened this issue Jun 16, 2024 · 0 comments

Comments

@jas88
Copy link
Member

jas88 commented Jun 16, 2024

Describe the bug

We transitively include both MathNet.Numerics and the legacy MathNet.Numerics.Signed packages in RDMP, both of which provide version 5.0.0 of MathNet.Numerics but only one as an (obsolete) "strong name" signature. This causes build warnings, upsetting downstream projects using bits of RDMP (like SmiServices)....

To Reproduce
Steps to reproduce the behavior:

  1. Build RDMP, look at warnings.

Expected behavior
Build should be warning free.

dotnet build --use-current-runtime -p:Platform=x64 --configuration Release --verbosity quiet --nologo
/usr/share/dotnet/sdk/8.0.301/Microsoft.Common.CurrentVersion.targets(2401,5): warning MSB3243:
No way to resolve conflict between "MathNet.Numerics, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cd8b63ad3d691a37"
and "MathNet.Numerics, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null". Choosing "MathNet.Numerics, Version=5.0.0.0,
Culture=neutral, PublicKeyToken=cd8b63ad3d691a37" arbitrarily.
[/home/runner/work/SmiServices/SmiServices/src/common/Smi.Common/Smi.Common.csproj]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant