Questions tagged [visual-studio-addins]

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

452 questions
0
votes
1 answer

Exceptions in Visual Studio 2010 AddIn

I have a WinForms application raising exceptions from code in an EventHandler (E.G. a Button click subscriber); I have a try..catch block around the invocation of the ShowDialog of the Form; The exception does not propagate to the try..catch block,…
user4388177
  • 2,433
  • 3
  • 16
  • 30
0
votes
1 answer

How does editor \ preview for Windows Phone work in Visual Studio works?

How is the image of the Page's XAML gets generated? Is it running a virtual machine and it's grabbing a snapshot? Does it send the XAML? Any details of that would be welcome.
0
votes
1 answer

using visual studio 2013 ide for other things

I love VS2013 with the Solarized-Dark theme. I would like to use the IDE to do other tasks, if possible. I noticed that SQL Server 2014 uses the VS2010 IDE for it's interface. I realize that might be because they have the source to the IDE -…
0
votes
2 answers

building xbuild into visual studio addin

im looking for a way to implement a addin that can convert a C# solution into a mono compiled exe, so i can use it on a linux and mac environment that have the mono framework installed.
caesay
  • 16,932
  • 15
  • 95
  • 160
0
votes
2 answers

Do you have ideas for a workaround for this Known bug in Visual Studio 2010's addIn model?

When developing AddIns for Visual Studio 2010 the following line fails: CommandBarEvents handler = (EnvDTE.CommandBarEvents)m_VSStudio.DTE.Events.get_CommandBarEvents(popup); Update: Forgot to tell that m_VSStudio is of the type DTE2 Where popup is…
0
votes
2 answers

How to find the name of a menu event in Visual Studio

I am trying to automatically invoke a menu item in Visual Studio by writing an addin. How can I find the name of that event? For example a compile command can be executed by using DTE.ExecuteCommand("Build.Compile") But I have a menu item that I…
Mark
  • 10,754
  • 20
  • 60
  • 81
0
votes
1 answer

How can I add a command to the Visual Studio toolbar to switch between source control plug ins?

I'm working with several different solutions, some of which use tfs and some which use svn. I would like to add a button in the toolbar to switch between providers instead of having to go through the "options" menu. How can this be done? Note:…
Kim
  • 1,068
  • 13
  • 25
0
votes
1 answer

Expression2.MakeObjectID doesn't return a value- how can I obtain the new object id?

The Expression2.MakeObjectID method creates a debug object ID, just like right-clicking a value in the debugger and selecting 'Make Object ID.' I would like to be able to get that ID (such as 1#, 2#, 3#) for the expression and display it.…
jnm2
  • 7,960
  • 5
  • 61
  • 99
0
votes
1 answer

Visual Studio -> Copy WebSite -> RemoteSite1.xml -> What is TimeHigh / TimeLow?

I'm currently trying to program an add-in that mocks Visual Studio's copy website tool. This is because Microsoft's tool has some behavior I want to change. But I want it to be as close as possible to the default tool. The default tool is using…
0
votes
1 answer

DTE build event: notification of succeeded but not built

Q: How do I determine that a project succeeded but did not built (no changes)? I am aware that with a Visual Studio Package that I can tap into build events. _dte.Events.BuildEvents.OnBuild* += **; * is the rest of the event handler name and ** is…
0
votes
1 answer

Any Addin for Visual Studio 2008 which would sort the imports?

I have seen plugins for VS 2005 and also for C# environment in VS2008 but not able to find for VB.NET environment in VS 2008.I want it to sort for each file, is there any addin for this?
kurozakura
  • 2,339
  • 8
  • 28
  • 41
0
votes
1 answer

Addin: How-to Do Merge programmatically

I use 2012 and VS 2010. I have Addin VS. I want do Merge of a ítem (sql file). I use the following code, but I get COMException exception: Command "File.TfsContextExplorerMerge" is not available My source code mehtod: public static void…
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
0
votes
1 answer

How to package a Visual Studio Add-in

I've created a Visual Studio Add-in. Now I would like to create a deployable package so that other users could install the add-in on their machine. How could I do so? Thanks
Bill
  • 2,026
  • 9
  • 55
  • 99
0
votes
2 answers

Visual Studio addin - override all existing commands?

I had an idea the other day to build a Visual Studio extension on GitHub that will teach people how to use hotkeys. I already have a dump of all hotkeys available (thanks to Mads Kristensen and his ShortcutExplorter project). The way it will work…
Mathias Lykkegaard Lorenzen
  • 15,031
  • 23
  • 100
  • 187
0
votes
1 answer

Explore object's members like in debug but without debug

Is there any extension for visual studio that can display object's properties / members / methods without debugging the code? Like it shows in debug when you hover over an object it shows a menu where you can easily navigate between object's…