0

我已按照其他帖子和http://msdn.microsoft.com/en-us/library/xwb8f617.aspx的说明为我的 dll 命名,这是一个本地(非托管)C++ dll。但是,当我尝试验证时它仍然不是强命名时:

>sn.exe -v myStuff.dll
=> myStuff.dll does not represent a strongly named assembly

我将我的 .snk 文件添加到项目中,并将该文件添加到 Properties->Linker->Advanced->KeyFile。

我应该如何排除故障?

4

1 回答 1

1

I thought I just read a question like this a moment ago. Someone had (rightly) stated that strong names are not applicable to native dlls.

I do hope you solve your issue, but in attempting to strongly name your native dll, you're barking up the wrong tree.

于 2012-07-18T23:54:15.850 回答