Reload .NET Addon

Hi,

there is a mode to force VC to reload the .dll of .NET addon?
Or I need to close and reopen VC each time I rebuild my addon’s DLLs?

Thanks

Luciano Cavallero
Flexcon s.r.l.

There is no easy and direct way to do this. The main reason is because of MEF composition container, which contains all the parts available and performs composition i.e the matching of imports to exports when VC starts. In order for your updated export to match with an import in VC, you will need to restart VC.

You should be able to use Visual Studio’s “Edit and Continue” feature to modify your code without having to restart if you have set up your debugging correctly.

1 Like

Wow, my first time to know “Edit and Continue”.

Thanks for sharing, good to be here. :lol: