acousticsatelite
asked on
Replace DLL while application is running
Is it possible to update a DLL while a service is running that uses the DLL ? Or does the service have to be stopped before the DLL can be replaced.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
appDomain = AppDomain.CreateDomain("My
assembly = appDomain.Load("dllToLoadD
SomeType = assembly.GetType( "dllToLoadDyn.SomeType" );
// do whatever with the dll
AppDomain.Unload( appDomain );
hth,
A.