Visual Studio Add-in - How do I create an installer?

I created a Visual Studio add-in as part of a project that I am working on to consume web services.

When I created a new add-in project in visual studio, it generated all the necessary code and installed a blank add-in on my computer (I guess).

Since this is a large project, we use svn to manage the codebase, and once I did some of the work on the add-in, I committed it and then checked it out on another machine and tried to run it.

However, on another PC, when I run the add-in in debug mode, the tools entry for the add-in is missing and I cannot start the add-in.

Am I correct in assuming that when I created the project on another PC, it also installed the plugin? And does that mean I will need to create an installer for any other PCs I want to use?

Obviously, at some point I intend to make an installer anyway, but not before the add-on is complete.

+2


a source to share


1 answer


Ok so I fixed my problem.

after doing some searches on another issue, I came across an answer to the installer question.

When the visual studio add-in wizard creates an empty add-in, it creates two xml files with the .Addin extension.



One is saved locally along with your project, the other is copied to whatever path a copy of visual studio uses for its add-in folder.

So, having copied the .addin file to the correct location on my other computer, I can now run Addin in both locations.

+2


a source







All Articles