问题构建应用程序w /签署程序集 - 强名称密钥文件 [英] Issue Building applcations w/ sign the assembly - strong name key files

查看:156
本文介绍了问题构建应用程序w /签署程序集 - 强名称密钥文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

针对强名称密钥文件构建了一个打开签名应用程序的问题。 我们长期以来一直在构建没有问题的clickone应用程序。 不要有这个问题。 我们通常会使用密钥文件,登录我们的
构建服务器作为正在进行构建的帐户,安装密码文件输入密码。 它有效。

Having issue building an application with signing turned on for strong name key file.  We've been building clickone applications w/o problems for a long time.  Dont' have issues with this.  We normally would take the keyfile, log into our build servers as the account that is doing the builds, install the keyfile entering in password.  And it works.

但是强名称密钥文件/签名,这是行不通的。 它继续说它没有安装。

But w/ the strong name key files / signing, this isn't working.  It continues to say it isn't installed.

C:\ Windows \ Microsoftoft.NET \ Framework64 \v4.0.30319 \ Microsoft.Common.targets(2455,5) ):错误MSB3325:无法导入以下密钥文件:keyfile.pfx。密钥文件可能受密码保护。要更正此问题,请尝试再次导入证书或手动将证书
安装到具有以下密钥容器名称的强名称CSP:VS_KEY_2C64B11AEE003808

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(2455,5): error MSB3325: Cannot import the following key file: keyfile.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_2C64B11AEE003808

通过构建过程构建这些应用程序时有什么不同吗?

Is there something different when building these applications through a build process?

推荐答案

您好kpdn,

Hi kpdn,

感谢您的帖子!

您的意思是你不能建立这些应用程序通过Team Build?

Do you mean you cannot build these applications through Team Build?

如果是,您能告诉我您目前使用的是哪个版本的TFS和Visual Studio吗?

If yes, can you tell me what version of TFS and Visual Studio do you use currently?

请参考以下如何延迟签署大会:  http://msdn.microsoft.com/en-us/library/9fas12zx(v = vs.100).aspx

Please refer to this to how to Delay Sign an Assembly: http://msdn.microsoft.com/en-us/library/9fas12zx(v=vs.100).aspx

有关详细信息,请参阅
http://stackoverflow.com/questions/4025316/signing-assemblies-with-pfx-files-in-msbuild-team-build-tfs

For more information, please refer to http://stackoverflow.com/questions/4025316/signing-assemblies-with-pfx-files-in-msbuild-team-build-tfs

希望它帮助!

最诚挚的问候,


这篇关于问题构建应用程序w /签署程序集 - 强名称密钥文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆