Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: How to unload a C# addin dll without exiting Microstation

$
0
0

This is possible if you load your c# add in into a different app domain in microstation.

By default microstation will load your c# add in into the microstation's global clr domain.

Try these commands:

MDL LOAD microstation.plugin.cant,,microstation.plugin.cant

clr unload domain microstation.plugin.cant

My project and dll was named microstation.plugin.cant, so you'll need to change that round to match whatever your c# dll is named.

There is a good guide here:

http://communities.bentley.com/communities/other_communities/bdn_other_communities/b/bdn-blog/archive/2011/09/14/learn-microstation-addins-step-by-step-3

The rest of that blog series is really handy to have a read through if you're developing c# plugins for Microstation


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>