Use the SolutionBuild.LastBuildInfo Property which retuns the number of projects that failed to build. A return value of zero indicates a successful build. ......
Thank you, Simple Guy. Still, I'm not sure if this will work for me, because imagine the developer has successfully built the solution and after that he does ...
Dear all, For the VS2003 there is an installer with 3 interops, which must be redistributed with our apps. What is about VS2005? I could not find such...
I'm writing an addin that needs to be notified when the caret moves in the active document, and when any code document's text is changed in the current...
Ok, I think I've got it. I needed to listen to the ITextManagerEvents on the IVsTextManager, then manage my hooks in OnRegisterView and OnUnregisterView. I'm...
well i do not mean to impose anything on u out of VS but becuase its free and totaly supported and from came powerfull products, i suggest that u check out the...
There's always a gotcha. If my addin is loaded after VS starts, there may be IVsTextViews that are already registered, and I never get an event for them. I...
I faced with the following problem. I would like to make possibility to change GridSize, ShowGrid and SnapToGrid values, which available for user from Tools->...
See my article HOWTO: Getting properties from the DTE.Properties collection of Visual Studio .NET. at: http://www.mztools.com/resources_vsnet_addins.htm Best...
Hi, Does somebody know how to hook intellisence? I would like to add own words dependent on context to c# intellesence. I know that people can do such things...
Hello, At a specific time during my add-in execution, it needs to determine if a solution build is up to date or if a build is needed (and determine if the ...
I will be out of the office starting 08/11/2006 and will not return until 08/30/2006. With a bit of luck I'm currently sitting on a beach with a glass of wine...
Hi, I have a user control which is being hosted in a ToolWindow thus: Private moScratchpadWindow As Window2 ' The window that hosts the CodeCheck Private...
Hi Lee, See the Message #3187 and the whole thread. http://groups.yahoo.com/group/vsnetaddin/message/3187?threaded=1&l=1 Best regards, Carlos J. Quintero ...
Many thanks, I must confess I had read that thread before but couldn't make much sense out of it. However, with a fresh brain this morning I have gotten it to...
Hi all, If you haven't done this yet, I encourage you to download Windows Vista Beta 2, install Visual Studio and your add-in, and test it all. Chances are...
Hi, For those of you not aware of MSDN Wiki (I had heard the term but hadn't investigated it until today), it is a version of MSDN with the same content but...
Window w = dte.ItemOperations.Navigate("www.google.com", vsNavigateOptions.vsNavigateOptionsNewWindow); I am using the above line of code to spawn a new window...
Hi, In an VS2005 addin, I show a modal Windows Forms dialog. For correct behavior (modality, taskbar icon) I guess I need a parent window, which ShowModal...
Hi, Perhaps you can help me again. I have 2 problems with auto-hide on docked tool windows. I can create my tool window, dock it to the bottom of the screen,...
Hi Lee, I am not sure about the first problem, but about the second, it is a bug that I filed and MS told me that it will be fixed in the next version. See: ...
Dear all, could anyone tell me how I can change the icon of Add-in tool button, it always appear a smile face for the tool button. I would like to set another...
How do other people deal with exception handling in managed VS addins, particularly in Windows Forms dialogs and the like? The trouble with Windows Forms...
Hi Arild, I don't know about others, but I put a Try/Catch block in each piece of code that is the starting point for some execution. That includes event...
... That's exactly how I do it too. -- Peter Macej Helixoft - http://www.helixoft.com VSdocman - Commenter and generator of class documentation for C#, VB .NET...
Ctrl+F3 - Finds the next occurrence of the currently selected text in the document. In both VS 2003 and VS 2005 this keyboard shortcut has stopped working for...
1. categories how do you put your commands in different category? 2. Kind of related: How do I not show my commands at all. I have some commands that I...