Home All Groups Group Topic Archive Search About

Load class library at runtime

Author
29 Jun 2005 8:04 AM
Nikolay Petrov
Can I load a class library at runtime?
Plugins, etc?

Author
29 Jun 2005 8:15 AM
Tom Shelton
On 2005-06-29, Nikolay Petrov <johnt***@mail.bg> wrote:
> Can I load a class library at runtime?
> Plugins, etc?
>

Yes...  Look at the Assembly.Load method.

--
Tom Shelton [MVP]
Author
29 Jun 2005 8:38 AM
Herfried K. Wagner [MVP]
"Nikolay Petrov" <johnt***@mail.bg> schrieb:
> Can I load a class library at runtime?
> Plugins, etc?

'System.Reflection.Assembly.Load'
'System.Reflection.Assembly.LoadFrom'

Note that 'Assembly' is a reserved keyword.  Thus you'll have to escape it
by putting it between square brackets when accessing it without
qualification.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
29 Jun 2005 8:51 AM
Carlos J. Quintero [.NET MVP]
See these links:

http://msdn.microsoft.com/asp.net/community/authors/royosherove/default.aspx?pull=/library/en-us/dnaspp/html/pluginframework.asp

http://msdn.microsoft.com/asp.net/community/authors/royosherove/default.aspx?pull=/library/en-us/dnaspp/html/searchforplugins.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp05162002.asp

--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

Show quoteHide quote
"Nikolay Petrov" <johnt***@mail.bg> escribió en el mensaje
news:1120032257.685443.214450@o13g2000cwo.googlegroups.com...
> Can I load a class library at runtime?
> Plugins, etc?
>
Author
29 Jun 2005 8:56 AM
Nikolay Petrov
thanks all
Author
29 Jun 2005 9:48 AM
Armin Zingler
"Nikolay Petrov" <johnt***@mail.bg> schrieb
> Can I load a class library at runtime? Plugins, etc?


System.Reflection.Assembly.Load


Plugins are often based on interfaces provided by the designer of the main
applicatoni, less on reflection.


Armin