MZ-Tools Articles Series: INFO: Add-in project template moved to Visual Studio 2013 SDK

July 7, 2013

I have documented the change in the “Visual Studio Add-in” project template location of VS 2013 that I mentioned yesterday here: INFO: Add-in project template moved to Visual Studio 2013 SDK http://www.mztools.com/articles/2013/MZ2013024.aspx


Visual Studio 2013 Preview: add-ins still supported, add-in template moved to SDK

July 6, 2013

The question that I raised one month ago about support for add-ins in Visual Studio 2013 already has an answer: they will be supported. If you install the Visual Studio 2013 Preview or set a virtual machine in Windows Azure with the Visual Studio 2013 Ultimate preview image (my approach), your will notice two things: […]


MZ-Tools Articles Series: BUG: EnvDTE80.Solution2.GetProjectTemplate returns wrong template for ClassLibrary if Windows Phone SDK installed

July 3, 2013

Of course, creating Visual Studio projects with the automation model that I showed in my last post is not only tricky but also fragile if there is a collision with project templates names, something that happened during the Visual Studio 2012 beta and that was fixed after I reported it: EnvDTE80.Solution2.GetProjectTemplate(“ClassLibrary.zip”, “VisualBasic”) returns Windows Metro […]


MZ-Tools Articles Series: HOWTO: Create a project from a Visual Studio add-in

July 3, 2013

Long time ago I wrote how to create a (blank) Visual Studio solution from an add-in, which while not very useful, it was tricky: HOWTO: Create a solution from a Visual Studio add-in. http://www.mztools.com/articles/2011/MZ2011001.aspx Today I have written the continuation with something more usefu (specially if you practice integration testing)l, how to create a project: […]


MZ-Tools Articles Series: HOWTO: Get the nodes in the Server Explorer from a Visual Studio add-in

July 2, 2013

Apart from getting selecting nodes in the Solution Explorer and selecting them, some people want to do the same with the Server Explorer. There is mixed news here: while you can navigate the Server Explorer like you do with the Solution Explorer (its inner object is an EnvDTE.UIHierarchy), the UIHierarchyItem.Object property of each node is […]


MZ-Tools Articles Series: HOWTO: Select nodes in the Solution Explorer from a Visual Studio add-in

July 2, 2013

The most natural question after learning how to get the selected node(s) in the Solution Explorer is how to select them by code: HOWTO: Select nodes in the Solution Explorer from a Visual Studio add-in http://www.mztools.com/articles/2013/MZ2013020.aspx


MZ-Tools Articles Series: HOWTO: Get the selected nodes in the Solution Explorer from a Visual Studio add-in

July 2, 2013

I am going now to post some articles about common questions that appear in the MSDN VSX forum about the nodes of the Solution Explorer / Server Explorer and that I have noticed that I hadn’t addressed in my articles. The first one is about getting the selected node(s) in the Solution Explorer: HOWTO: Get […]


MZ-Tools Articles Series: HOWTO: Create a keyboard shortcut (binding) to Visual Studio add-in command

July 1, 2013

My next article of the series devoted to migrating macros to add-ins (after migrating macro methods and macro environment events) is about keyboard shorcuts for macro commands: HOWTO: Create a keyboard shortcut (binding) to Visual Studio add-in command http://www.mztools.com/articles/2013/MZ2013018.aspx Don’t miss this other article if you are using non-English versions of Visual Studio: BUG: Command.Bindings […]


MZ-Tools Articles Series: HOWTO: Migrate macro events to a Visual Studio add-in

July 1, 2013

My second article about migrating from macros to add-ins (after the first one) is about the environment events: HOWTO: Migrate macro events to a Visual Studio add-in http://www.mztools.com/articles/2013/MZ2013017.aspx


MZ-Tools Articles Series: HOWTO: Migrate macro methods to a Visual Studio add-in

July 1, 2013

I have not tested VS 2013 Preview yet, but since the macros IDE was not updated in VS 2010 and was completely removed in VS 2012, I wouldn’t expect it to be back in VS 2013 (after all, colors are not getting back either). So, for those many users aggraviated by the macros removal I […]