CorfFlags警告CF011有关强的名字,即使有符号/力符号、名字、CorfFlags

由网友(执子之手与子偕老)分享简介:我试着用Corflags获得在x64 PartCover运行。当我使用:Im trying to use Corflags to get PartCover running under x64. When I use:CorFlags.exe PartCover.exe / 32BIT + /强制CorFlags....

我试着用Corflags获得在x64 PartCover运行。当我使用:

Im trying to use Corflags to get PartCover running under x64. When I use:

CorFlags.exe PartCover.exe / 32BIT + /强制

CorFlags.exe PartCover.exe /32BIT+ /Force

我得到: corflags:警告CF011:指定的文件强名称签名。使用/组将无效这一形象的签名,并要求砥辞职组装。

i get: corflags : warning CF011 : The specified file is strong name signed. Using /Force will invalidate the signature of this image and will require the assembly tobe resigned.

无/力,我得到:

corflags:错误CF012:指定的文件强名称签名。使用/强制强制更新。

corflags : error CF012 : The specified file is strong name signed. Use /Force to force the update.

在网页似乎别人是运行过程中出现partcover throught corflags没有问题...

On web there appears that others are runnig partcover throught corflags with no problems...

推荐答案

我不明白的问题。当您使用/强制corflags正在更新PE头,这样的大会是86(32位),但是这确实无效的强命名,因此你必须辞职的改变组装。这就是为什么你看到的警告,但我敢打赌,corflags正在改变的程序集。

I don't see the problem. When you use /Force corflags is updating the PE header so that the assembly is x86 (32 bit), however this does invalidate the strong naming and thus you must resign the altered assembly. That is why you are seeing the warning, but I would bet that corflags is altering the assembly.

由于不使用/力则corflags是告诉你它不会做一些事情,将在大会无效,没有你明确地给它的权限与/力实际参数的。

By not using /Force then corflags is telling you it won't do something that will invalidate the assembly without you explicitly giving it permission to with the /Force arguement.

阅读全文

相关推荐

最新文章