开发者

Signing a managed assembly that references an unmanaged assembly

I'm trying to sign a .net assembly with Visual Studio (2010). On the properties page for the project, I selected the Signing tab, and checked "sign the assembly" and provided a strong name key file.

The problem is that this project references another -- unmanaged project. When I try to build the .net开发者_JS百科 assembly, I get the message: "Assembly generation failed -- Referenced assembly 'otherAssemblyName' does not have a strong name.

Since the other assembly/project is unmanaged, I don't believe that it is possible to sign it, and so I don't know what to do next.

I need to sign my .net assembly because it will be used by another signed assembly.

Thanks in advance...


Are you sure the other assembly is "unmanaged?" It's not possible to reference an unmanaged assembly.

C++ can generate unmanaged or managed DLLs. If you're p/Invoking the DLL, then it's unmanaged; otherwise, it's managed and can be signed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜