Questions tagged [add-in]

AddIn (Add-In or Add In) is a synonym for plugin - a program that is triggered by a host program allowing third party developers to manipulate or extend the hosting program.

Add-In (AddIn or Add In) is a synonym for - a program that is triggered by a host program allowing third party developers to manipulate or extend the hosting program.

Typically, whether these programs are called "addins" or "plugins" depends on the programming language and platform. For example, in they are called plugins whereas in they are called addins. Some programs also call them "addons". In any case, these programs add or extend functionality to an existing program.

In most cases the hosting program will expose an extensibility interface to the hosted code, allowing it to execute tasks.

The most used types of Add-Ins are those automating the Microsoft Office programs (Word, Excel, Powerpoint, Outlook), browsers (Internet Explorer), IDEs - Visual Studio. But other non-Microsoft programs provide COM Extensibility as well (Skype, Altova software products, Photoshop, AutoCAD and many others).

In most cases the Add-Ins use COM object interfaces (that allow the Add-In code, if started from a standalone executable to instantiate the host program and then manipulate it) exposed by the hosting software.

Links:

2555 questions
13
votes
3 answers

Is it possible to "debug" a release build of a C# app in VS 2010

I have an excel addin that works fine in debug and release mode when I build / run from VS2010. However, when I deploy it using a windows installer it doesn't operate properly. I'm not sure what the problem is or even if "debugging" the release…
Pat Mustard
  • 1,852
  • 9
  • 31
  • 58
13
votes
3 answers

Implementing untrusted plugins in .NET web application

I'd like to develop an application that accepts plugins from the user community, similar to how Chrome or Firefox does. This would be a web application, so each "instance" of the application for individual users would run different plugins (plugins…
RationalGeek
  • 9,425
  • 11
  • 62
  • 90
12
votes
2 answers

Mark or highlight files in Visual Studios Solution Explorer

is there an Add-In which allows me to tag or mark files in Visual Studio and then these files are visual highlighted (eg. different background color) ? I searched the Visual Studio Gallery but didn't find anything. Thanks!
Tobias Diez
  • 251
  • 3
  • 10
12
votes
2 answers

Adding my DLL into a Visual Studio project in C++

I am working on a project that involves making a dynamic link library, so I want to test it in a console app in Visual Studio. The DLL is also made in Visual Studio, it doesn't have much, just a few functions in it. I'm not sure if I'm just supposed…
Reaper9806
  • 133
  • 1
  • 2
  • 8
12
votes
1 answer

Creating a 'Custom Designer' Visual Studio 2010 Add-in

A major part of our work is creating and manipulating certain XML files, for which have a custom editor. The editor is starting to get creaky and we are looking at building a replacement. Since VS2010 has recently arrived, ostensibly with an…
12
votes
2 answers

Smart Paster Add-In for Visual Studio 2010

Does anyone know of any free add-in similar to Smart Paster, but for Visual Studio 2010? Unfortunately, Smart Paster only works for VS2005 and VS2008. For the ones that don't know what I'm talking about, check it out.
Nelson Reis
  • 4,780
  • 9
  • 43
  • 61
12
votes
2 answers

Add-In events are never executed

I used the "Add-In for Visual Studio" wizard to create a new Addin project and now, I'm trying to add some event handlers: public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) { …
main--
  • 3,873
  • 1
  • 16
  • 37
12
votes
4 answers

Removing Add-ins for SQL Server Management Studio

I have SQL server 2008 R2 installed. In the past I have installed the Redgate Sql Promprt 5 add-in. It doesn't work anymore, but I still have the menu in the SQL Management Studio. I don't see the add-in in the Programs and features list in windows…
Shahar
  • 655
  • 2
  • 7
  • 23
11
votes
3 answers

How do I write to the output window in Visual Studio 2010 AddIn?

I'm writing a simple Visual Studio 2010 Add-In to do a common copying job here at work (getting dlls from libs sln). I want the progress of the copying to be written to the output window. I tried Trace.WriteLine(...) expecting that to make it, but…
Eric Brown - Cal
  • 14,135
  • 12
  • 58
  • 97
11
votes
1 answer

Change the default namespace of a VSTO project

Is it possible to change the default namespace of a VSTO project?... I've tried opening the project file in notepad and changing the rootnamespace xml param to my new desired name, but it fails to load the add-in when Word starts. It throws a…
devHead
  • 794
  • 1
  • 15
  • 38
11
votes
3 answers

Excel add-in with seamless Undo: possible?

I am considering implementing an Excel add-in using COM (not VBA) that will manipulate data in the worksheet. I am going to need this add-in to seamlessly integrate with the Undo stack. More specifically: Any changes this add-in makes to the data…
kes
  • 5,983
  • 8
  • 41
  • 69
11
votes
5 answers

Get the reference of the DTE2 object in Visual C# 2010

I want to get a reference to the current solution, using the DTE2 object with C# in Visual Studio 2010. I first tried the following code: var dte = Marshal.GetActiveObject("VisualStudio.DTE.10.0") as EnvDTE80.DTE2; But when I open 2 solutions, and…
Dennis
  • 1,810
  • 3
  • 22
  • 42
11
votes
3 answers

How to get notification when a successful build has finished?

I'm writing an VS add-in and I need to run a certain method after a successful build. I've tried using dte.Events.BuildEvents.OnBuildDone but that event happens even if the build failed. Is there a property or some other event I should use?
Dror Helper
  • 30,292
  • 15
  • 80
  • 129
11
votes
2 answers

COM Add-in for Excel doesn't load when Excel is launched by opening file

Several users have reported that if they launch Excel by double-clicking an Excel file, the add-in will not load. But, if they open Excel via the Start menu (or Quick launch toolbar) the add-in loads fine. Some details, in case they help: It is a…
CtrlDot
  • 3,102
  • 3
  • 25
  • 32
11
votes
1 answer

Command line to start visual studio and disable add ins/Extensions for that instance

I am writing a Visual Studio template wizard. And to debug it I have it start a new instance of Visual Studio 2010. My Visual Studio 2010 takes a good while to start up. I believe that this is due the the add-ins and extensions that I have…
Vaccano
  • 78,325
  • 149
  • 468
  • 850