views:

4077

answers:

1

I've added a weakly named assembly to my VS2005 project (which is strongly named). I'm now getting the error:

"Referenced assembly 'xxxxxxxx' does not have a strong name"

Do I need to sign this 3rd party assembly?

Thanks in advance

Nick

+7  A: 

To avoid this error you could either

  • load the assembly dynamically, or
  • sign the 3rd party assembly.

You will find instructions on signing third party assemblies here:

Signing an Unsigned Assembly

0xA3
OOO.. I got linked! Cheers :)
OJ
Thus is signing the assembly an option, I neither wish to load the assembly dynamically nor to sign it. I know that strong naming is in regards of the Global Assembly Cache (GAC). Despite, I don't want to make my assemblies part of the GAC and neither are they COM-visible. I remember partially remember of something we may do that will allow the use of this assembly without signing it. It is somewhere in the options properties or so. Am I out of track wanting to go that way?
Will Marcouiller
You can use unsigned assemblies if your assembly is also unsigned.
OJ