How to get C#.Net Assembly by name?

Jronny picture Jronny · Dec 16, 2009 · Viewed 86.3k times · Source

Is there something like:

AppDomain.CurrentDomain.GetAssemblyByName("TheAssemblyName")

so instead of looping through AppDomain.CurrentDomain.GetAssemblies(), we could just get the specific assembly directly.

Answer

cyberzed picture cyberzed · Dec 16, 2009

Have you tried looking at Assembly.Load(...)?