C# .pfx文件阻止项目编译

C# .pfx文件阻止项目编译,c#,visual-studio-2010,C#,Visual Studio 2010,我继承了一个旧的VS2008项目,我能够将其转换为VS2012。我遇到的唯一问题是,当我在2008年或2012年运行项目时,我收到以下错误: Error 1 Cannot import the following key file: . The key file may be password protected. To correct this, try to import the certificate again or import the certificate manually

我继承了一个旧的VS2008项目,我能够将其转换为VS2012。我遇到的唯一问题是,当我在2008年或2012年运行项目时,我收到以下错误:

Error   1   Cannot import the following key file: . The key file may be password protected. To correct this, try to import the certificate again or import the certificate manually into the current user’s personal certificate store. DiagnosticTool.Presentation

我有没有办法从项目中排除此密钥?我对PFX钥匙的了解非常有限

你还知道证书的其他信息吗?不知道。我浏览了上一位开发人员留下的文档,没有提及为什么需要此密钥。但是您知道证书的用途吗?不是在项目中,但我假设它与发布签名有关。解决了我能够进入项目属性并删除我们需要有问题的钥匙。