Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
All about Assembly Loader
WhatsApp
Karthikeyan Anbarasan
13y
4.1
k
0
0
25
Blog
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
Up Next
ASP.Net: Assembly.LoadFrom V/S Assembly.LoadFile
Ebook Download
View all
Printing in C# Made Easy
Read by 22.3k people
Download Now!
Learn
View all
Membership not found