Hi Chris,
From your description, you have some questions about the .NET assembly's
metadata and strong-name binding ,correct?
As for metadata, it is always stored in assembly file itself(store as a
header section in assembly and have fixed structure and format). Thus,
runtime can read information about assembly from its metadata. Metadata can
not only contain strong-name info, but also many other useful info such as
Type information, assembly properties info....
For strong-name, it is one feature which utilize metadata as the storage.
Strongname need a key pair and after assembly is built, strong-name key
token has been embeded into the assembly's metadata as an identity.
Here are some articles which introduce some on them:
#Metadata and Reflection in .NET
http://www.odetocode.com/Articles/288.aspx
#Security Briefs: Strong Names and Security in the .NET Framework
http://msdn2.microsoft.com/en-us/library/aa302416.aspx
If you have interests, you can use the "ildasm.exe" or "reflector" tools to
open the assembly and view strong-name info.
For Visual Studio, it is an development tool/IDE, the project file does
store some assembly name and path info. However, those information doesn't
related to the runtime assembly binding and locating behavior. Those path
and file info(in project file) just help indicate a certain location where
Visual Studio can find a copy of the assembly so that when performing the
compile/build, visual Studio can locate an assembly(for reference).
At runtime, the CLR runtime will use another strategy to locate any
assembly that is referenced by the application. Here is the MSDN reference
describe .NET runtime's assembly loading behavior:
#How the Runtime Locates Assemblies
http://msdn2.microsoft.com/en-us/library/yx7xezcf(VS.80).aspx
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Chris Marsh" <cjmarsh@newsgroup.nospam>
>References: <OzwhoYKQIHA.4276@TK2MSFTNGP06.phx.gbl>
<ezK$DtKQIHA.4656@TK2MSFTNGP03.phx.gbl>
>Subject: Re: Assembly Binding and Visual Studio Projects
>Date: Mon, 17 Dec 2007 18:07:50 -0000
[quoted text clipped - 29 lines]
>>
>> Cheers!
Chris Marsh - 18 Dec 2007 10:24 GMT
Steven
> From your description, you have some questions about the .NET assembly's
> metadata and strong-name binding ,correct?
[..]
> #Metadata and Reflection in .NET
> http://www.odetocode.com/Articles/288.aspx
>
> #Security Briefs: Strong Names and Security in the .NET Framework
> http://msdn2.microsoft.com/en-us/library/aa302416.aspx
Good articles, thanks.
> If you have interests, you can use the "ildasm.exe" or "reflector" tools
> to
> open the assembly and view strong-name info.
Ah, illuminating.
[..]
> Hope this helps.
Very much. I think I understand the whole process now, and am creating a
flowchart for quick reference.
Cheers!

Signature
Regards
Chris Marsh
Steven Cheng[MSFT] - 18 Dec 2007 10:53 GMT
Thanks for your followup Chris.
Glad to be of assistance.
BTW, welcome to share your flowchart with us:)
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Chris Marsh" <cjmarsh@newsgroup.nospam>
>Subject: Re: Assembly Binding and Visual Studio Projects
>Date: Tue, 18 Dec 2007 10:24:47 -0000
>Steven
>
[quoted text clipped - 25 lines]
>
>Cheers!
Chris Marsh - 18 Dec 2007 12:30 GMT
Steven
> Thanks for your followup Chris.
>
> Glad to be of assistance.
> BTW, welcome to share your flowchart with us:)
The flowchart can be found at the following location:
http://www.cjmarsh.com/assembly_binding.jpg. Any comments on format, or
errors and omissions will be gratefully received. The only thing I haven't
mentioned is the <probing> element of the application configuration file -
I'm not sure how to represent this without the [already large] diagram
becoming out of control.
Cheers!

Signature
Regards
Chris Marsh
Chris Marsh - 18 Dec 2007 12:31 GMT
Steven
> Thanks for your followup Chris.
>
> Glad to be of assistance.
> BTW, welcome to share your flowchart with us:)
The flowchart can be found at the following location:
http://www.cjmarsh.com/assembly_binding.jpg. Any comments on format, or
errors and omissions will be gratefully received. The only thing I haven't
mentioned is the <probing> element of the application configuration file -
I'm not sure how to represent this without the [already large] diagram
becoming out of control.
Cheers!

Signature
Regards
Chris Marsh