How to work around the PFX signing not supported error when publishing .NET Core

落爺英雄遲暮 提交于 2020-12-05 12:31:04

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!