C
Chris Marsh
All
I'm still grappling with assembly binding - hopefully I'll grok it soon
I create a strong named assembly. I add a reference to this assembly to a
project in Visual Studio. When I view properties for the assembly reference
in Visual Studio, I am informed (correctly) that the assembly is strong
named. However, when I look at the .csproj file in a text editor, there is
no version, indication of strong name, or public key. Where is this metadata
stored?
In an MSDN article on assembly binding
(http://msdn2.microsoft.com/en-us/library/yx7xezcf(VS.71).aspx) the
following is stated: "There is no version checking for assemblies without
strong names, nor does the runtime check in the global assembly cache for
assemblies without strong names.". Therefore, the runtime must have access
to metadata regarding the strong name (or not) of an assembly referenced at
design time, otherwise it would not know whether to check for it in the GAC
or not at runtime?
Can someone explain this to me possibly? I'm struggling to grasp this, but I
think that once I understand where this metadata is stored and how the
runtime accesses it, everything else will fall into place.
Many thanks in advance for any asssistance!
I'm still grappling with assembly binding - hopefully I'll grok it soon

I create a strong named assembly. I add a reference to this assembly to a
project in Visual Studio. When I view properties for the assembly reference
in Visual Studio, I am informed (correctly) that the assembly is strong
named. However, when I look at the .csproj file in a text editor, there is
no version, indication of strong name, or public key. Where is this metadata
stored?
In an MSDN article on assembly binding
(http://msdn2.microsoft.com/en-us/library/yx7xezcf(VS.71).aspx) the
following is stated: "There is no version checking for assemblies without
strong names, nor does the runtime check in the global assembly cache for
assemblies without strong names.". Therefore, the runtime must have access
to metadata regarding the strong name (or not) of an assembly referenced at
design time, otherwise it would not know whether to check for it in the GAC
or not at runtime?
Can someone explain this to me possibly? I'm struggling to grasp this, but I
think that once I understand where this metadata is stored and how the
runtime accesses it, everything else will fall into place.
Many thanks in advance for any asssistance!