2009-06-29 3 views
3

私はアセンブリに署名しようとすると、私は次のエラーを取得する:符号なしCOM相互運用アセンブリを参照するアセンブリにどのように署名できますか?

Error 1 Assembly generation failed -- Referenced assembly 'comlib' does not have a strong name

は、符号なしのアセンブリを参照または私は、同様のCOM相互運用機能アセンブリに署名しなければならないのアセンブリに署名することが可能ですか?

答えて

5

はい、すべてに署名する必要があります。あなたがこれを行う必要があるだろう、なぜのように良い説明については

が、私はあなたが読むことをお勧めエリックリペットのAlas, Smith and Jones

If assembly Smith is a strong-named assembly, and Smith says that assembly Jones is its friend, then Jones must also be strong-named. If, however, Smith is not strong-named, then Jones need not be strong-named either.

I'm occasionally asked "what's up with that?"

編集:彼は、COMについて言及していないが、理論はあなたの状況にも適用されます。

+0

実際。私がブログで話している状況は、まさにこのような状況ではありません。私は「友人集会」について話していますが、なぜこれが違法であるのかは、どちらの場合もまったく同じです。 –

関連する問題