I have a C# dll say dll1 that is referenced by another C# dll say dll2 . The path to dll1 is specified in the env variable PATH. when I try to compile dll2 , the dll2 reports error that it could not find the assembly dll1. I am not sure how I can make this happen I thought PATH was used in Dll search by .Net.
Awaiting some helpful advice
Thanks
Karandeep Malik
Best Answer
The PATH is not searched at all. This article on msdn explains how the runtime locates assemblies.