Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的客户想要签署应用程序代码。他给了我一个用于签署 .NET 桌面应用程序的 .spc 文件。我应该如何在应用程序中使用它?
谢谢
http://ellisweb.net/2008/08/signing-code-using-pvk-and-spc-files/
有一个简单的选项。安装您的 spc 文件。转到 Internet Explorer=>tools=>content=> 证书。然后选择您的证书并单击导出选项。您可以生成 Pfx 文件。
然后您可以在 Visual Studio 的项目属性的签名选项卡中设置此 pfx 文件
您在将程序集发送给您的客户之前对其进行签名。您可以在项目设置中的 Visual Studio 中自动执行此操作。