Reload .NET Addon

Forum Forums Visual Components 4.0 .NET Addon Programming Reload .NET Addon

Visual Components Essentials has been officially released, download link

Be sure to read the Forum Rules and Guidelines before start using the Forum.

This topic contains 3 replies, has 4 voices, and was last updated by Chungmin Chungmin 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2770
    Luciano
    Luciano
    Participant

    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.

    #2844
    Jay
    Jay
    Participant

    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.

    #2855
    TSy
    TSy
    Participant

    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.

    #2861
    Chungmin
    Chungmin
    Participant

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

    Thanks for sharing, good to be here.  😆

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.