Update Controls in Custom Toolbox Control

Asked

Viewed 180 times

4

I created a project "Windows Forms Toolbox Control" and customized some controls: inserir a descrição da imagem aqui

I created a custom gallery so that all programmers in the company can install Toolbox and make use of the controls: inserir a descrição da imagem aqui

As the figure below you can see the Toolbox created and available for use: inserir a descrição da imagem aqui

My problem occurs when the controls undergo some kind of change and need to be updated. I noticed that after updating Toolbox by the visual studio gallery, the projects that contained the controls' dll reference lose the reference of where the dll was.

The image below shows the path where the extension was installed: inserir a descrição da imagem aqui

After the Toolbox update the path was changed, see in the figure below: inserir a descrição da imagem aqui

With this the designs stay with the broken design: inserir a descrição da imagem aqui

How can I update these controls so that projects do not lose their reference?

I noticed that there are some extensions installed do not have this different nomenclature in the directory. You can change the extension destination folder on installation and update? inserir a descrição da imagem aqui

...sorry for the amount of images, it is that I have not found a better way to expose the problem.

1 answer

1

Is your project set to Assembly information? You are set Com Visible for True? Are you using a dynamic or constant URI in your project? Have you tested it on other computers? Have you ever stopped to think that you may be giving conflict between the Namespaces of the System?

Marque a caixinha

Mark that little box Make assembly COM-Visible for True, hence users can have general access to the Project’s "Types" and methods.

Note: This window is located in Project Your Project -> Application Guide, on the "Assembly Information".

You can’t definitely say what the problem is, I’ll test it here, if I find what the problem is, I’ll notify you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.