visual-studio-addins

Useful Add-Ins or Plug-Ins for native Visual Studio developer [closed]

天大地大妈咪最大 提交于 2019-12-02 23:59:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . There are plenty of different Add-Ins for Visual Studio see Visual Studio Gallery . Please share your experiences and favorites. As motivation, here are some of my favorites: Versioning Controlled Build [F/O] - very handy extension for automatic build numbering SlickEdit Gadgets [F] - useful editor gadget, build

How can you make the file get added to the recent projects MRU list when programatically opening a solution in VS?

╄→гoц情女王★ 提交于 2019-12-02 18:45:56
问题 When a solution is programmatically opened in an add-in/extension (VS2012 in my case) using Solution.Open, the solution file is not added to the projects MRU (i.e. File->Recent Projects and Solutions menu) as it would be if you opened the solution using the File->Open->Project/Solution menu. Is there a way to force the file to be added? I've seen some references to manipulating the registry (e.g. HKCU\Software\Microsoft\VisualStudio\11.0\ProjectMRUList ) but is there another way that doesn't

Useful Add-Ins or Plug-Ins for native Visual Studio developer [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 13:47:01
There are plenty of different Add-Ins for Visual Studio see Visual Studio Gallery . Please share your experiences and favorites. As motivation, here are some of my favorites: Versioning Controlled Build [F/O] - very handy extension for automatic build numbering SlickEdit Gadgets [F] - useful editor gadget, build-in file explorer ... SlickEdit Tools [C] - editing and versioning tools Refactor! for C++ [F/C] - C++ code refactoring like C# WiX [F/O] - making windows installer setups using XML AnkhSVN [F/O] - use subversion from inside of your IDE Visual Leak Detector [F/O] - helper for debug

How can you make the file get added to the recent projects MRU list when programatically opening a solution in VS?

陌路散爱 提交于 2019-12-02 12:45:43
When a solution is programmatically opened in an add-in/extension (VS2012 in my case) using Solution.Open , the solution file is not added to the projects MRU (i.e. File->Recent Projects and Solutions menu) as it would be if you opened the solution using the File->Open->Project/Solution menu. Is there a way to force the file to be added? I've seen some references to manipulating the registry (e.g. HKCU\Software\Microsoft\VisualStudio\11.0\ProjectMRUList ) but is there another way that doesn't assume the storage that VS uses and therefore would be less likely to break in the future? Perhaps a

Catch WindowTurnedToPage Event in a Visio AddIn project

倖福魔咒の 提交于 2019-12-02 08:27:50
I'm trying to execute some code when the user swap between the pages of a visio window. So i tried to catch the WindowTurnedToPage event, but it simply don't work. Other events from his family can be catched, and they respond when they should. But WindowTurnedToPage and BeforeWindowPageTurn don't respond. private void InternalStartup() { this.Startup += new System.EventHandler(ThisAddIn_Startup); this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown); Application.Window.WindowTurnedToPage += new Visio.EWindow_WindowTurnedToPageEventHandler(Window_WindowTurnedToPage); } private void

undecorate function names with visual studio sdk

不想你离开。 提交于 2019-12-01 00:15:34
To undecorate mangled C++ names that Visual Studio generates, you can use undname.exe . But what if you want to avoid the overhead of creating a full-blown process every time you need undecoration? Is there any equivalent functionality in the Visual Studio SDK (should be supported in VS2005)? You're looking for UnDecorateSymbolName function provided by dbghelp. 来源: https://stackoverflow.com/questions/1617204/undecorate-function-names-with-visual-studio-sdk

Working automatic build increment Visual Studio addin

青春壹個敷衍的年華 提交于 2019-11-30 23:27:17
I'm searching for a working Visual Studio 2012 addin which automatically increments my build number. Something like http://autobuildversion.codeplex.com/ . But this isn't working for me. I am using Visual Studio 2012 Ultimate, if it matters. Try ProjectBuildCounter . It is free, easy to use, no setups hassles and visual studio versions mess. Could use it for as many projects you want. You might download nere . Usage info is available here 来源: https://stackoverflow.com/questions/14168663/working-automatic-build-increment-visual-studio-addin

undecorate function names with visual studio sdk

六眼飞鱼酱① 提交于 2019-11-30 18:59:23
问题 To undecorate mangled C++ names that Visual Studio generates, you can use undname.exe . But what if you want to avoid the overhead of creating a full-blown process every time you need undecoration? Is there any equivalent functionality in the Visual Studio SDK (should be supported in VS2005)? 回答1: You're looking for UnDecorateSymbolName function provided by dbghelp. 来源: https://stackoverflow.com/questions/1617204/undecorate-function-names-with-visual-studio-sdk

Working automatic build increment Visual Studio addin

*爱你&永不变心* 提交于 2019-11-30 18:33:43
问题 I'm searching for a working Visual Studio 2012 addin which automatically increments my build number. Something like http://autobuildversion.codeplex.com/. But this isn't working for me. I am using Visual Studio 2012 Ultimate, if it matters. 回答1: Try ProjectBuildCounter. It is free, easy to use, no setups hassles and visual studio versions mess. Could use it for as many projects you want. You might download nere. Usage info is available here 来源: https://stackoverflow.com/questions/14168663

DTE2 events don't fire

拥有回忆 提交于 2019-11-30 18:32:12
While trying to develop my first VS Addin, I am having issues in firing DTE2 events. Basically, the DocumentOpened and LineChanged events don't fire for some reason. What important part did I miss? namespace TestAddin { public class Connect : IDTExtensibility2 { private AddIn _addInInstance; private DTE2 _applicationObject; public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) { _applicationObject = (DTE2) application; _addInInstance = (AddIn) addInInst; _applicationObject.Events.DocumentEvents.DocumentOpened +=