Dinamically loads unreferenced dlls

  • Thread starter Thread starter Ronchese
  • Start date Start date
R

Ronchese

Hi all.

I'm planning build a user interface program that loads several dlls from a
file list (like plugins). That dlls are not referenced on my program.

That dlls can be build for any person, using one specific interface, and
just added to file list and the my program will be able to load it.

How can I do it using pure .Net?

Thx in advance.

[]s
Cesar
 
Ronchese said:
I'm planning build a user interface program that loads several dlls from a
file list (like plugins). That dlls are not referenced on my program.

That dlls can be build for any person, using one specific interface, and
just added to file list and the my program will be able to load it.

Yes, this can be done with managed code. Basic plugin sample:

<URL:http://dotnet.mvps.org/dotnet/samples/codingtechnique/PlugIns.zip>
 
Thx man.

That samples will be valuable! I'll use the reflections to do the work.

[]s
Cesar





"Herfried K. Wagner [MVP]" <[email protected]> escreveu na mensagem
Ronchese said:
I'm planning build a user interface program that loads several dlls from a
file list (like plugins). That dlls are not referenced on my program.

That dlls can be build for any person, using one specific interface, and
just added to file list and the my program will be able to load it.

Yes, this can be done with managed code. Basic plugin sample:

<URL:http://dotnet.mvps.org/dotnet/samples/codingtechnique/PlugIns.zip>
 
Back
Top