TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
All about Assembly Loader
Karthikeyan Anbarasan
Apr 26, 2011
4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
All about Assembly Loader
Assembly loader
Checks if the assembly is Strongly signed.
If yes it will search in the GAC
Loader will search the policy file name in the format of
Policy.AssemblyMajorVersion.AssemblyMinorVersion.AssemblyName
Eg. MyPolicy.1.2.Assembly1
If such a file exists it will look inside of it if the version of the assembly that we are trying to load matches the version/versions range written in the policy file. If it does, it will try to load the assembly with the version specified there. If no such policy file exists, it will try to load assembly from the GAC.
If it will fail to find it in the GAC, it will start to search in the system's search path.
In web applications it will also include the application's Bin directory in the search path.
All about Assembly Loader
Next Recommended Reading
ASP.Net: Assembly.LoadFrom V/S Assembly.LoadFile