If I deleted a referenced assembly, how's going to happen?  
Author Message
Buddhist





PostPosted: Visual C# General, If I deleted a referenced assembly, how's going to happen? Top

it's going to find if there is one in the GAC, right

it's going to find if there is one in the current directory, right

And

Thx.



Visual C#6  
 
 
Indian Ocean





PostPosted: Visual C# General, If I deleted a referenced assembly, how's going to happen? Top

Hi,

Its not standard rule to go first GAC and then othe places but its depends on binding context as well. Even you can override this mechanism in your own CLR loader implementation.

The full explanation about how CLR locates assemblies is given in
http://msdn2.microsoft.com/en-us/library/yx7xezcf.aspx

If you have any specific questions after referring that article, please let me know,

HTH,



 
 
Buddhist





PostPosted: Visual C# General, If I deleted a referenced assembly, how's going to happen? Top

that means, once I deploys an assembly at GAC, even I specify the wrong path in my project, it should still work.

thx.