visual-studio-addins

Outlook custom task pane control

I'm developing an outlook addin that has a button in a custom task pane (thats in an inspector window). When its clicked, I'd like it to do something to the current active item (in my case, it's the appointmentItem). I've tried this (this code is in the custom task pane class): private void button1_Click(object sender, EventArgs e) ...

Retrieving the version number of a source file in ClearCase

Hello, I creating a small addin to help with my source control. Does anybody know how I could retrieve the Branch Name and Version Number of a source file in Rational ClearCase. I want to do this using C#. Where is all the information actually stored? ...

Modifying app.config file with Visual Studio Extension

Hello, I am trying to create a Visual Studio Extension (either Add-In or VSPackage) that will do the following: 1) Find all selected projects in the current solution. 2) Obtain access to each project's app.config or web.config file and modify it. I have been able to figure out step 1 for both an Add-In and a VSPackage. I haven't manage...

When to buy Visual Studio Team System?

We use Visual Studio Professional and we are quite pleased with it. We use Tortoise SVN, Visual VSN, NUnit and resharper. A combination that works very well for us. Now we need to run load tests. We looked at Visual Studio Team System, but frankly the pricing seems a bit lofty (obvious understatement). We are with a team of 6 develope...

Visual Studio Addin - "file in zombie state" error

I'm building a visual studio add-in. I copy a solution and do various things to the files inside its and the folder structure. I then load it into visual studio and proceed to load a list of predefined files however when I do this I get an exception and a message saying the files cannot be access for they are in a zombie state. Here is ...

Visual studio addin - finding current solution folder path

I have an add-in loaded, and a solution loaded, how would I find the folder path of that solution programmatically in C# in my addin? ...

How to find and delete registry entries in Wix

I am trying to write a Wix3 install for a visual studio add-in. I have it just about there, but I need reset the plugin by deleting a registry entry. Specifically any value starting with HKCU\Software\Microsoft\VisualStudio\8.0\PreloadAddinStateManaged\MyAddinName.Connect; How to a convince Wix to delete any such entries? ...

Visual Studio Addin - 1. How to Add a context menu? 2. How to get caret position

I'm writing a (very) simple Visual Studio addin. Two things that would make it work nicer are: A context menu. Knowing the caret position in the current document (so I can inject text at that position). Any ideas? ...

Visual Studio Addin - Adding a Command to the file->new menu

I have a menu item in the Tools menu, but it needs to go in the file->new menu, however even changing "Tools" to "File" in the pre-generated visual studio code does not give the expected result!!!? ...

Help installing Visual Studio Tools for Office System

I have VS 2008 Standard and I'm trying to open a project that is a plug-in for Outlook, the project fails to load showing the message "C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\Office Tools\Microsoft.VisualStudio.Tools.Office.Office2007.targets was not found". The Office Tools directory is missing yet I have installed the Offi...

TDD in Visual Studio 2008 add-ins

I am trying to create an addin for Excel using Visual Studio 2008 and I would like to use Test Driven Development (TDD). Pure TDD would start from an empty solution. The following methods are autogenerated when creating a shared addin project: public class Connect { public Connect(){ } public void OnAddInsUpdate(ref System.Ar...

Subscribe for outlook events from VSTO Add-In

Hi every one I need to interact with outlook in a way that, when a task is deleted in outlook, I get notice about and if the task has the text "HELLO" in it's body, show a MessageBox. My add in is in VSTO 2005, and it's for Office 2007. The only way I see to accomplish this is to subscribe for the Outlook events but after a couple hou...

Visual Studio add-in API resources

Where can I find examples and API information, besides the MSDN, on creating add-ins for Visual Studio .net 2008? ...

Do we have any Minifier Add-in for visual studio 2005/2008 ?

Do we have any Minifier Add-in for visual studio 2005..? that minifies various files inside visual studio. ...

Visual Studio addin: context menu for all files

I created this Visual Studio addin a while ago for saving shortcuts to files as a more extensible alternative to an MRU. The problem I've had with it since the start is the context menu item only appears for source code files - not .sql, .js, .aspx and so on. This is a snippet of the code used for registering the context menu item: Co...

Visual Studio 2008 and 2008 SP1 Addin: using EnvDTE90 and EnvDTE90a

Does anyone know the equivalent for doing this in Visual Studio 2008(EnvDTE90) and Visual Studio 2008 SP1(EnvDTE90a)? //this is code for Visual Studio 2005, works great EnvDTE80.DTE2 dte2 = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal. GetActiveObject("VisualStudio.DTE.8.0"); foreach (EnvDTE80.Breakpoint2 bp ...

Visual Studio 2008 Plug-in / Add-in development - Getting Started

hey guys, in relation to this stackoverflow question, how would I go about creating my own Visual Studio 2008 plug-in. I've checked the Visual Studio Developer Centre on MSDN, but the amount of info is overwhelming. There are loads of project types, and I don't even know where to start. Where should I start looking if I want to write s...

Excel add-in transferring data from sheets to database: file path problem

I wish to create an addin for excel which can read the current sheets data and then insert it into database. The database connection requires the file location. Therefore that approach cant be applied as I have to send the file that I have currently opened and can't specify the file path. And moreover I need the data of each column to ...

which one to choose? DXCore, Resharper or VSX?

I want to write a visual studio addon to do some code modifications for me (like some specific refactoring). I was wondering which one of these tools should I use and why? we have licenses for resharper, the other two are free and this is an internally used software, so we don't need to worry about licensing. ...

How do I hide Visual Studio Add-in disabled commands

I created a Visual Studio Add-in that adds additional commands (four of them) to the top of Code Window context menu. I'm using permanent UI approach. Depending on the cursor position within code only one of the commands would be visible and thus selectable. Other three would be hidden. I set supported and enabled status within QuerySta...