-
Notifications
You must be signed in to change notification settings - Fork 48
Attempt to fix strong-name signing #227
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
Conversation
That didn't work - seems the
|
Should the Include be the path to the .snk file? |
eng/Signing.props
Outdated
<FileSignInfo Include="Mono.Cecil.Pdb.dll" CertificateName="3PartySHA2" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<StrongNameSignInfo Include="CecilStrongName" PublicKeyToken="50cebf1cceb9d05e" CertificateName="3PartySHA2" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this works when you point to the .snk: https://dev.azure.com/dnceng/internal/_build/results?buildId=2585148&view=results
The output from this build is valid when running sn /v Mono.Cecil.dll
, and the previous builds failed validation.
<StrongNameSignInfo Include="CecilStrongName" PublicKeyToken="50cebf1cceb9d05e" CertificateName="3PartySHA2" /> | |
<StrongNameSignInfo Include="$(MSBuildThisFileDirectory)..\cecil.snk" PublicKeyToken="50cebf1cceb9d05e" CertificateName="CecilStrongName" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for figuring this out!
* Attempt to fix strong-name signing * Update eng/Signing.props to use the cecil.snk file --------- Co-authored-by: Jackson Schuster <[email protected]> (cherry picked from commit 7f4a146)
This reverts commit 59f2ded. It got accidentally merged into 9.0 with dotnet/runtime#109297
Cecil assemblies aren't being strong-name signed. Hoping this fixes it. Not sure if there's a good way to test this locally since we public-sign the assemblies during the build, then do final strong-name signing in MicroBuild, from what I understand.