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

Only use legacy signed MathNet.Numerics wrapper on Framework and older Standard #1398

Closed
wants to merge 1 commit into from

Conversation

jas88
Copy link

@jas88 jas88 commented Aug 6, 2024

.Net Framework cares about legacy "Strong Naming" which is why #785 was opened in 2022, but it's not useful for Core - this PR makes it conditional, so Framework and Standard 2.0 users get that signed variant, Standard 2.1 and Core 6 will get the normal package instead resolving #1365 without upsetting legacy people.

@lahma
Copy link
Collaborator

lahma commented Aug 6, 2024

Unfortunate that they have two variants. It's so much easier to just sign the assembly even for modern .NET use and let it ignore the fact. If I remember correctly the advice (at some point at least) was that sign the assembly and have the public key public in repo (don't expect it to be a secret).

@jas88
Copy link
Author

jas88 commented Aug 9, 2024

@lahma yes, signing in itself is generally useless but harmless, and they've added a "PublicSigning" option to simplify that too - the problem is that Mathnet.Numerics has two different packages with conflicting names paces, and they specifically advise use of the unsigned variant except for the handful of cases that actually have a use for signing.

@jas88 jas88 closed this by deleting the head repository Aug 17, 2024
@tonyqus tonyqus added the cicd label Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants