mercredi 1 avril 2015

Update controls in Custom Toolbox Controls

I created a project "Windows Forms Toolbox Control" and added some custom controls: enter image description here


When installing .vsix file, everything works fine and the tool box and its controls are available for use. After you add a custom control on another project, I could see the reference to the dll and its respective path. enter image description here


Then I had to implement a new property to one of the controls and did the update of the extension via a private gallery of the company. To my surprise, the extension has been updated, the controls available again correctly, but in another directory.


Install: enter image description here


After update: enter image description here


With this, the project that was using one of the controls had broken the design, because the dll lost the reference: enter image description here


What can I do so that both the installation and upgrading are the same directory?


ps: Researched install .vsix with msi, but got no example.


Aucun commentaire:

Enregistrer un commentaire