Unloading an Assembly in the CF...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Heya

How does one go about unloading an Assembly from memory? My application has plugins which need to be periodically updated. During the retrieval, if the plugin has been loaded it will not allow the app to overwrite the DLL file (obviously). I assume it would be something to the effect of Assembly.Unload but nothing of the sort exists. ??

~~K
 
Kevin Z Grey said:
How does one go about unloading an Assembly from memory? My
application has plugins which need to be periodically updated. During
the retrieval, if the plugin has been loaded it will not allow the app
to overwrite the DLL file (obviously). I assume it would be something
to the effect of Assembly.Unload but nothing of the sort exists. ???

You have to put it in a separate AppDomain - you can't unload an
individual assembly (in either the compact or full frameworks).
 
Alex Feinman said:
I don't think you can unload an AppDomain in CF either...

Eek, looks like you're right. I guess not that many CF programs are
likely to want to do that.
 
Back
Top