Hi folks, I've been keeping a weblog <http://dotnetweblogs.com/NUnitAddin/Category/177.aspx?Name=NUnitAddin> charting the progress of an addin I've been...
Oops, I see yahoo doesn't support HTML emails. Here it is again with proper formatting... Hi folks, I've been keeping a weblog [1] charting the progress of an...
Hi guys, WE're developing a Visual Studio .NET AddIn, which use the IDE property window.We want to fill in the combobox of the property window with component...
hi All, Does anyone know how to detect what language a project is using? My visual studio add-in will have different options for different languages. Thanks, ...
You should be able to call the Project.FullName property, grab the file extension, and use that as the file type. Craig Inside Visual Studio .NET 2003 ...
You cannot set the properties of any window, you can only call Window.SetSelectionContainer on a window which has been created through an Add-in using...
First, thanks for the recommendation on the book! There is not that much (OK, nothing) in the book about the Debugger automation model, but if there is ever a...
One other way of finding a selected project is to use the DTE.ActiveSolutionProjects property, which will return a list of projects that have one or more nodes...
Chances are you are seeing this either when running a macro or when running a standalone application that gets an instance of DTE through either new'ing an...
You can, but you do not want to use AddNamedCommand to do it. The correct method is Commands.AddCommandBar, the second argument should be vsCommandBarTypeMenu,...
Other than removing the file within the BuildEvents.OnBuildBegin event and adding the file22.cs file, this is not supported. Craig Inside Visual Studio .NET...
I tried to reproduce your problem, but could not find this property. I have heard of other people having similar problems with other properties, and almost...
hi all, I've written a usercontrol in C# that is part of my add in. I'd like to detect when a file is opened (actually, displayed) in the editor, and the...
... I've been wrestling with the VS.NET automation model for a good number on months now. It was great to finally find some decent documentation! Thanks for...
I have an AddIn that exposes the functionality of IstallAssembly in RegistrationHelper class to allow a developer to register a Serviced Component in COM+. The...
hi all, i tried adding a menu item to the Build menu but it didn't work. it works only for the File,Edit,View,Tools,Window menus why is that? thanks in advance...
hi all, I have an add-in that I've written as a usercontrol It hosts itself in the sliding windows. Once the control has loaded and docked, everything is fine....
Hi Mohamed, I hit the same problem when trying to add a menu item to the Debug menu. It turns out there is a toolbar called Debug (there's one called Build as...
There's supposed to be a ToolWindow sample on MSDN at: http://msdn.microsoft.com/vstudio/downloads/samples/automation.asp In fact, if you click on one of the...
Any ideas why macros won't run in two different VS.NET installs we have here? I can record a temp macro, but it doesn't play back, and no other macros run...
Hi Craig, I have yet another question on the topic: Is it possible to attach the debugger to an application domain created by an add-in within the devenv...
For all who have been running into a problem like this, I have found the problem and a relatively simple workaround. The problem is happening on our (VS) side....
The automation samples web site has an Add-in called EventWatcher that will display information in the Output window when each event is fired by VS. You should...
I would like to create an Add-In that displays a dockable window, just like all of the normal windows in the IDE, i.e. Solution Explorer. I would like the...
Each menu is given a name, but there is nothing that requires a menu to be given a unique name. When you say DTE.CommandBars["Name"], if there are two or more...
You can have only one window with the same GUID visible at any one time. Since the Add-in has not been unloaded, you should call windowToolWindow.Visible =...