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
Public sign assemblies #85
Conversation
This enables [public signing](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/security#publicsign) for the assemblies in the package. From that document: > Developers use public sign for open-source projects. This enables other strong-named assemblies to utilise this library.
a5cb2b2
to
88b62ba
Compare
resolves the issue #84 |
@drewnoakes Thank you very much! I have invited you as the collaborator of the repository and NuGet package. Thanks all the contributions to this library so far. |
@drewnoakes Do you think it would be safe if we migrate to .NET 6 before building the next package? #86 |
Thanks! One question I have is whether you have a special process to produce the NuGet package, or whether you just pack the WinForms project.
What would be the reason to migrate to .NET 6? I think it makes sense to update if you want to take advantage of features in that runtime or framework, but it does mean that users of .NET 5 would be left behind. |
I can build in VS2022. I probably have a targeting pack installed. I think we can add one via PackageReference if needed, to ensure everyone can build this repo locally. |
The targeting pack NuGet package is Microsoft.NETFramework.ReferenceAssemblies. it should be added with PrivateAssets="All". |
Thanks. Saw this after release a new NuGet package, the new version 1.4 available now. I will try it in the next build. |
This enables public signing for the assemblies in the package.
From that document:
This enables other strong-named assemblies to utilise this library.
It also bumps the copyright year and version. @jingwood if you're happy with this, could we get a package out? I'm blocked on needing strong naming for a project I want to use this in. Thanks! Alternatively you can give me publish permissions. My NuGet user ID is 'drewnoakes'.