Registering assemblies in the target machine

  • Thread starter Thread starter Luis Arvayo
  • Start date Start date
L

Luis Arvayo

Hi,

If I will distribute some assembly .DLL files together with a demo app
including source code of this demo app:

What is needed to do in a Setup Project in Visual Studio, in order to
register those controls in the Toolbox of Visual Studio .NET in the target
machine ?

Thanks
Luis A.
 
I don't know off the top of my head but here's how I would find out. I'd go
to www.sysinternals.com and download a utility that tells me when my
registry has been changed. Then i would manually register a control in the
toolbox and see what it did to the registry. After that it should be simple
to write some custom handler that updates the registry.
 
http://support.microsoft.com/default.aspx?scid=kb;en-us;816167

The above article shows you how to create and load a VS.NET add-in using the Extensibility Wizard.

If you create a custom add-in, you can ensure that the user's envirnoment loads it by placing the appropriate files in their VS.NET
installation directories. The article explains it in detail.

You can find the answer about installation in the "Build and Install the Add-in Project" section of the article.

Your add-in can modify the toolbar as you see fit by listening to events that the VS.NET IDE exposes to add-ins.

There are more articles on modifying the toolbar, in particular, but I don't have links to them. Just search around MSDN for
"vs.net extensibility toolbox", or something of the like.

Good luck.

P.S., as far as I know, the Registry is not used in this process (at least, you don't have to worry about it)
 
Hi,

Thanks for the tip.

Does it mean that the controls on the Toolbox in Visual Studio are
registered in the Windows Registry ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top