MZ-Tools Articles Series: HOWTO: Get the IVsHierarchy and Item Id of EnvDTE.Project and EnvDTE.ProjectItem

January 30, 2014

As part of the transition of my MZ-Tools add-in to a package I am learning more and more about the “native” way of doing things using the interfaces provided by Visual Studio (SDK) assemblies, which can be used also from an add-in as I explained in this article: HOWTO: Get a Visual Studio service from […]


MZ-Tools Articles Series: HOWTO: Get standard / additional include directories of Visual C++ project from an add-in

January 25, 2014

From time to time I see questions about the Visual C++ extensibility model in the MSDN VSX forum. While I haven’t used it (since my MZ-Tools add-in targets mainly C# and VB.NET), I like to take the challenge and investigate if I can provide an answer. I find that the Visual C++ extensibility model is […]


MZ-Tools Articles Series: BUG: NullReferenceException showing properties of executable project if inside solution project

January 25, 2014

This is a small bug that I found a few months ago while stil using VS 2012: BUG: NullReferenceException showing properties of executable project if inside solution project http://www.mztools.com/articles/2014/MZ2014002.aspx I reported it through Microsoft Connect but I verified yesterday that it is not fixed yet in VS 2013.


MZ-Tools Articles Series: INFO: CLR HRESULT errors loading add-ins

January 24, 2014

In the past few years, I have been documenting quite a few CLR strange error codes loading add-ins that I have found: The strange case of error 8013101b loading a Visual Studio add-in http://blogs.msmvps.com/carlosq/2014/01/23/the-strange-case-of-error-8013101b-loading-a-visual-studio-add-in.aspx The strange case of error 80131515 loading a Visual Studio add-in http://blogs.msmvps.com/carlosq/2013/07/08/the-strange-case-of-error-80131515-loading-a-visual-studio-add-in.aspx Another strange case of error 80131522 loading a Visual […]


The strange case of error 8013101b loading a Visual Studio add-in

January 23, 2014

Another error that can happen loading an add-in that I have found today is the following (with an unhelpful error message as usual): Error Message: <Unknown error> Error number: 8013101b This error happens if you have compiled the add-in with a CLR version higher than the one supported by the Visual Studio IDE where you […]


The strange case of InvalidComObjectException exiting Visual Studio 2013 after debugging extension

January 23, 2014

I found a couple of days ago a bug that I hadn’t seen before: when you create an add-in with Visual Studio 2013 (you need to install the VS 2013 SDK), hit F5 to debug it, which launches a second VS 2013 instance and close this instance (even without loading the add-in), you get: An […]


The strange case of error "Windows Program Compatibility mode is on." when installing Visual Studio 2012 language packs

January 20, 2014

Another problem apart from this other one that can happen installing Visual Studio 2012 language packs to try your extension with other languages is the following: “Windows Program Compatibility mode is on. Turn it off and the try Setup again” The error message is misleading: I have found that it happens if you rename the […]


11th Microsoft Most Valuable Professional (MVP) title

January 2, 2014

Happy New Year! Microsoft awarded me yesterday my 11th Most Valuable Professional (MVP) title, which, as always, makes great the start of the new year :-). Speaking about the new year, I want to share some of my plans in the Visual Studio extensibility area: I will migrate my MZ-Tools add-in for Visual Studio to […]