Loading Assemblies at runtime (...from the GAC)

T

Timothy

Hi,

The following code loaded an assembly from a file

objPlugin = CType(Activator.CreateInstanceFrom(AppPath() & "Plugins\" &
mnuItem.AssemblyName, mnuItem.ClassName).Unwrap, iGameModule)


But what if that assembly is in the GAC ?

So I could have an XML file for each plugin, and then specify the
filename and for those that are in the GAC just specify "GAC" or something.

But how do I load them then ?

thnx.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top