-
Notifications
You must be signed in to change notification settings - Fork 200
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
Add a strong name to nuget package #35
Comments
The CsQuery NuGet package which HtmlSanitizer references is not signed, so unfortunately signing HtmlSanitizer doesn't seem to be possible currently. |
There's also: http://strongnamingconsideredharmful.com/ |
Nice link 👍 |
Is this possible in v3? |
I think so, AngleSharp seems to be strong named, see AngleSharp/AngleSharp#115. |
OK. I recommend to strong name it, and only use the main version in the strong name. So the assembly version is for releases 3.0 - 3.x: |
Edit: I don't think semver is used? Can that be arranged in version 3? |
I very much like the automatic ".*" assembly versioning provided by AssemblyVersionAttribute. Not using this would mean we'd have to have some build script that does all kinds of versioning things (patch the assembly file version, set the NuGet version etc.). |
Well with proposal:
|
Done. |
@mganss I still do not see that NuGet package is signed, did you update it? |
Only the beta is strong named (currently 3.1.67). |
@mganss why is the version updated to 3.1.x ? It that a test? |
I had already published a NuGet package 3.0.5781.31354-beta before the move to SemVer. |
Mmmm I think 3.1.67 is also not semver? I think it should be |
Where does it say that? |
7 on semver.org |
I can't see how that helps with the goals of SemVer. As long as the version number is strictly increasing there shouldn't be a problem with specifiying dependencies. |
I don't really understand what you mean. The choose is relative easy, HtmlSanitizer uses SemVer, or it doesn't. If HtmlSanitizer is using SemVer (from 3.0?), then 3.1.0.67 is not allowed as a version number after 3.0.x. |
OK, then it's "almost SemVer" 😉 |
That doesn't exist IMO. It the same like saying that IE6 sticks to the HTML standards. Why not unlisting the old packages and just create a 3.0 (-betaX) ? |
I think the problem is not so much starting with SemVer at a specific version but rather resetting the third component to 0 (in the future). I don't see a way to achieve this and still use the automatic versioning provided by AppVeyor. It seems SemVer wasn't designed with CI in mind. Also, there isn't a single browser w/o bugs 😄 |
3.1.76 is strong named. |
Complied dll is missing a strong name so It is not possible to use it in strong named project.
Is it possible to add strong name during the build ?
The text was updated successfully, but these errors were encountered: