Closed kuhnboy closed 2 years ago
@kuhnboy Mono.Cecil is clearly not happy about the assembly you are using. You will need to provide me with the assembly you are trying to sign that causes that exception so I can reproduce and attempt to fix it.
The issue you refer to was the detection of mixed-mode and skipping them. Signing will not be supported for them, but if it can be detected they can be skipped and the error can be avoided. Whatever assembly you are trying to sign there clearly fails to identify as being mixed-mode so it attempts to sign it and fails.
Ok thanks. So the correct answer is:
Fixed and deployed to NuGet: https://www.nuget.org/packages/Brutal.Dev.StrongNameSigner/3.1.1
Running into this error with mixed-mode assemblies with 3.1.0.
It is implied that this is fixed in 3.1.0 (https://github.com/brutaldev/StrongNameSigner/pull/67)