How to

dynamically load assembly from GAC

Published: 22. December 2008 | Updated: 26. October 2011
License: Microsoft Public License (MS-PL)
Categories: Framework » Reflection
Tags: C# Reflection
Was this snippet helpful for you? YESYES / NONO

Import namespace

using System.Reflection;

Code

Assembly loaded = null;
loaded = Assembly.Load("System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");
Send us feedback about this snippet »



Related Snippets: