
Signature
There are 10 kinds of people: those who understand binary and those who
don't.
> > It forces anything that references your assembly to also be strongly
> > named, doesn't it?
>
> No.
Hmm. MSDN says:
<quote>
Note All assemblies that reference types in a strong-named assembly
must also have a strong name.
</quote>
On the other hand, presumably all the standard .NET assemblies are
strong-named, and clearly referencing them isn't a problem...
> > That adds complications for people who want to use
> > the assemblies but don't have any need for strong names.
>
> Try strong-naming an assembly with unsigned references.
Indeed. I wonder whether that's what MSDN was *trying* to say, but got
it the wrong way round....

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Patrick Philippot - 28 Jan 2005 07:55 GMT
> Hmm. MSDN says:
>
[quoted text clipped - 5 lines]
> On the other hand, presumably all the standard .NET assemblies are
> strong-named, and clearly referencing them isn't a problem...
Hi Jon,
I think it's a documentation bug. I can obviously reference strong-named
assemblies from other assemblies not having a strong name.
IMHO, they actually meant that a strong-named assembly can only
reference other strong-named assemblies. For security reasons.

Signature
Patrick Philippot - Microsoft MVP
MainSoft Consulting Services
www.mainsoft.fr
Daniel Petersson - 28 Jan 2005 14:05 GMT
hi, no it is not a documentation bug but rather a
missunderstanding. To keep the tamper protection
on the "entire" system the client also has to have
a strongname. But if it don't we still get the strongname
checks during load of all the strongnamed assemblies.
The statement in msdn is true from a security point of
view but not from the developers point.
regards
Daniel
> > Hmm. MSDN says:
> >
[quoted text clipped - 13 lines]
> IMHO, they actually meant that a strong-named assembly can only
> reference other strong-named assemblies. For security reasons.
Jon Skeet [C# MVP] - 28 Jan 2005 17:32 GMT
> > Hmm. MSDN says:
> >
[quoted text clipped - 8 lines]
> I think it's a documentation bug. I can obviously reference strong-named
> assemblies from other assemblies not having a strong name.
Yup. I'm not sure why I went with MSDN rather than applying common
sense :)
> IMHO, they actually meant that a strong-named assembly can only
> reference other strong-named assemblies. For security reasons.
Indeed.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too