Coffeehouse Thread

2 posts

Question about reflection and appdomain.

Back to Forum: Coffeehouse
  • User profile image
    unix?

    Hello,

    my problem: I´ve developed an application that uses a configuration file to load/compile assemblies (with a defined interface) at runtime - to be flexible.
    Now I want to remove the loaded assembly from the appdomain, but the aspnet_wp.exe has an handle to the assembly -> the assembly is loaded and will never released -> until I kill the process or stop/start the wep application.
    Is there any solution ? I´ve found no way to release a loaded assembly from the appdomain in the .NET Framework. 

  • User profile image
    spod

    hi unix

    unfortunately i don't think it's possible...you can only unload on an appdomain boundary

    here's some more details...
    http://blogs.msdn.com/suzcook/archive/2003/07/08/57211.aspx

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.