How to unload a C# addin dll without exiting Microstation. I have tried mdl unload and the dll does not unload.
IS there any way to unload the program without exiting Microstation?
Hi,
Unknown said:IS there any way to unload the program without exiting Microstation?
No, there is no such option avaiable officially. I think addin is also unloaded if you close a design file, but I have not tested in.
The reason of this limitation is that addins are loaded into MicroStation domain. And NET framework is designed in such way that aseembles cannot be unloaded from their domains. An alternative way is to load the addin into own domain (I remember a proper key-in was discussed in this community in the past), but it's not supported and not everything is working correctly in such case.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point