-
Notifications
You must be signed in to change notification settings - Fork 15
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
Strong Naming #11
Comments
It seems that signing the assembly is not the recommended approach these days. See https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/strong-name-signing.md#1-microsoft-strong-names-their-assemblies-should-i . If we update the project to .netstandard2.x does that eliminate the need for you to have it signed? (It appears that we're due to upgrade the nlopt dlls included therein.) |
This is the problem I'm having (from https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming):
So while strong naming may not be the most modern thing to do, doing so should only increase your compatibility (unless you're referencing other .NET assemblies, which I don't think you are). The project I'm working on is strong named (I don't have any control over this), and hence all its dependencies (e.g. I'm not sure if updating the project will fix the problem, although I guess it's worth a shot. |
Done. Test it please. |
Yep, it's working on my end. Thanks for the help! |
@mattdutson , is strong naming still a feature that you need? I'm thinking to drop it as it's more painful to support .net core. |
You can go ahead and drop it. Needed it for a research project that we completed a while ago. Thanks for checking! |
The
NLOptNet
DLL is not strongly named/signed. This is a problem for any strongly named project which tries to referenceNLOptNet.dll
.This can be changed in the project properties under "Signing -> Sign the assembly". Happy to submit a PR for this if it helps.
The text was updated successfully, but these errors were encountered: