Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For quite a while I have been going back and forth reading msdn documentations to figure out how does an assembly gets loaded at runtime. When an assembly is in the bin of your application and also in the GAC, what gets loaded at runtime, GAC or bin? This post is a quick reference guide so that I come back to it and get the short answer rather than parse through the msdn documentation each time.
What is the answer?
The Runtime first looks in the GAC and then in the probing path of the application which includes the bin to load an assembly.
What does this imply?
Reference:
How the Runtime Locates Assemblies
Tools:
Fuslogvw.exe (Assembly Binding Log Viewer)
Please sign in to use this experience.
Sign in