问题
I've been trying to sign assemblies with a PFX file. All worked fine, I accessed Properties/Signing at Visual Studio yet whenever I run the dotnet publish command, I get this error:
C:\Program Files\dotnet\sdk\2.1.201\Microsoft.Common.CurrentVersion.targets(3210,5): error PFX signing not supported on .NET Core
I've been looking for a way to work around this, yet with no luck so far.
回答1:
So I figured I should go with SNK signing instead of PFX, considering it's no longer supported by PFX.
来源:https://stackoverflow.com/questions/51105698/how-to-work-around-the-pfx-signing-not-supported-error-when-publishing-net-core