I wrote a batch execution and in it (in some scenarios) I want to download the assembly from the GAC, where there may be several versions, but I just want to download the latest version.Is it possible?
TIA
Assembly.LoadWithPartialName(string) will do exactly what you want.
Assembly.LoadWithPartialName(string)
You should be able to use the publisher policy with BindingRedirect. See This SO Answer .
Linq to Gac GAC. , , .