Questions tagged [visual-studio-addins]

Add-ins extend Microsoft Visual Studio using the automation model (EnvDTE). Removed in Visual Studio 2015.

452 questions
1
vote
1 answer

Visual Studio addin look for compile/build error

There are specific logic that I need to handle on build completed depending on whether or not the solution compiled/built with no error. How can I detect if the last build generated any error? vsBuildState contains definition for Done, InProgress,…
Alwyn
  • 8,079
  • 12
  • 59
  • 107
1
vote
1 answer

Extending the property window in Visual Studio

XNA Game Studio somehow extended the properties window in Visual Studio with two new combo boxes, "Importer" and "Processor". These combo boxes contained the available importers and processors defined in code in the current solution, and when these…
Patrik Svensson
  • 13,536
  • 8
  • 56
  • 77
1
vote
1 answer

How to convert a visual studio add-in to an extension?

I am wondering if it is possible to easily convert a visual studio add-in into a visual studio extension? The add-in is for VS 2010. I am wondering if their is a specific way of doing this, and if it is even worth the effort.
1
vote
1 answer

Show ErrorList Windows in Visual Studio 2010 Addin

I have Win7 64 bits, Visual Studio 2010, and I have developed an Addin for Vs2010. I try show messages in Error List Windows VS. I use ErrorListProvider in OnBuildProjConfigDone build event for Addin this._buildEvents.OnBuildProjConfigDone += new…
1
vote
1 answer

Having an issue with VS add-in loading in primary copy of VS

I am testing out an add-in created by someone else and set the add-in application debug properties to: Start external program: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /resetaddin Microsoft.VSAddin.Addin1 Working…
user1632018
  • 2,485
  • 10
  • 52
  • 87
1
vote
1 answer

How to debug VS add-in?

I am trying to modify a VS add-in, this addin has multiple projects. The addin project itself, some class librarys that it uses an an user interface project. When I try to debug I get the error "A project with the output type of class library…
user1632018
  • 2,485
  • 10
  • 52
  • 87
1
vote
0 answers

How to load WCF Service bindings for a Visual Studio 2010 Addin?

My Questions is: I want to call WCF Service methods via Visual Studio Addin and the addin/or Visual Studio host is looking int the wrong place for configurations ( or maybe its looking at the right place but the config is at the wrong place)? What…
1
vote
0 answers

Visual studio add-in does not work with multiple VS instances open

I'm working on a Visual Studio add-in that displays a stage in a (windows form) window. Creating a new special project (related to the add-in) makes a new project with all the necessary .dlls for the user to interact with the stage in their own…
1
vote
1 answer

Can I suppress selected input before the application's main loop?

As part of my Visual Studio utilities add-in SamTools, I have a mouse input routine that catches Ctrl+MouseWheel and sends a pageup/pagedown command to the active text window. Visual Studio 2010 added a new "feature" that uses that gesture for zoom…
Sam Harwell
  • 97,721
  • 20
  • 209
  • 280
1
vote
1 answer

Connection string for addin in Visual Studio 2012

I develop an addin for MSVS 2012. I need to get connection string for tsql tab currently opened. I used IScriptFactory interface members to get connection string in MSVS 2010 (I use…
1
vote
1 answer

What is the difference between add-ins and macros?

What are their differences? What can you do with one that you cannot with another?
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
1
vote
1 answer

How to find the Current SolutionPath in VS 2012?

i´m working on an addin for VS 2012.. The problem is, i need to find out the current SolutionPath to put a file in the current solution.. How can i do this? Thx!
1
vote
5 answers

how to disable and enable add-in button after click

I am writing an add-on for visual studio that includes two buttons. I want that when the user hits one of them, this button will be disabled and the another one will be enabled. How can I do it? The buttons are Command type…
Ruthg
  • 241
  • 2
  • 4
  • 11
1
vote
1 answer

process.start() hangs when called from VS Addin

I'm playing about with an addin to Visual Studio 2005 that calls an external process. When I run the code outside of the addin - i.e. in a standalone project it works fine. However when I call it as part of a addin the Process.Start() call is made…
Chris B
  • 5,311
  • 11
  • 45
  • 57
1
vote
1 answer

Replace the Visual Studio Find Results

I'm wanting to create a replacement window which displays the Find results (and maybe also Find Symbol Results in the future). Preferably I don't want to touch the "Find dialog" and would prefer not to do the actual finding myself - just change how…