如何解决VS2010中的DelaySign错误? [英] How to resolve the DelaySign error in VS2010?

查看:394
本文介绍了如何解决VS2010中的DelaySign错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS2010中创建了一个项目。当我尝试构建vcxproj文件时,我收到以下错误:

i have created a project in VS2010.When i am trying to build the vcxproj file,I am getting the following error:

1> LINK:致命错误LNK1220: '/ DELAYSIGN'需要'/ KEYFILE'或'/ KEYCONTAINER'规范

1>LINK : fatal error LNK1220: '/DELAYSIGN' requires '/KEYFILE' or '/KEYCONTAINER' specification

我检查了项目文件的属性,DELAYSIGN设置为NO。但是,链接器仍在尝试查找KEYFILE和KEYCONTAINER。

I have checked the project file's property, the DELAYSIGN is set to NO. But, the linker is still trying to find KEYFILE and KEYCONTAINER.

如何解决此错误?

提前感谢。

推荐答案

如果链接器报告该错误,您可以确定/ DELAYSIGN是从某个地方传递给它的。

If the Linker is reporting that error, you can be sure that /DELAYSIGN is being passed to it from somewhere.

再次运行构建并在构建日志文件中查找失败的项目,并查看传递给LINK命令的参数中是否存在/ DELAYSIGN(不要忘记检查传递给LINK的命令文件的内容命令)群组。如果那里是
,那么你需要找出它的来源。

Run the build again and look in the build log file for the failing project and see whether /DELAYSIGN is present in the arguments passed to the LINK command (don't forget to check the content of the command file passed to the LINK command).  If it's there, then you need to work out where it's coming from.


这篇关于如何解决VS2010中的DelaySign错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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