MZ-Tools Articles Series: HOWTO: Create a command with a custom picture using an ImageList for a XML-based Visual Studio add-in.

March 19, 2012

This one that I mentioned in my last post that I would investigate has been extremely easy: HOWTO: Create a command with a custom picture using an ImageList for a XML-based Visual Studio add-in. http://www.mztools.com/articles/2012/MZ2012005.aspx And Microsoft updated correctly the documentation for Visual Studio 2010 regarding the new possibilities of the Bitmap parameter of the […]


MZ-Tools Articles Series: HOWTO: Create a command with a custom picture without using a managed satellite DLL for a XML-based Visual Studio add-in.

March 19, 2012

I should have written the following article near two years ago, but also Microsoft should have provided this way of creating commands with custom pictures without the need for satellite dlls 10 years ago, since the very beginning of VS.NET 2002: HOWTO: Create a command with a custom picture without using a managed satellite DLL […]


VS11 Beta bug: it does not raise AppDomain.AssemblyResolve to receive the satellite dll in add-ins in localized versions

March 19, 2012

The approach that I described in the following article to use a single satellite Dll with the “en-US” culture using the AppDomain.AssemblyResolve event doesn’t work in VS 11 Beta: HOWTO: Create a command with a custom picture using a managed satellite DLL for a XML-based Visual Studio add-in. http://www.mztools.com/articles/2012/MZ2012002.aspx I have just opened a bug […]


MZ-Tools Articles Series: HOWTO: Set the default style a CommandBarButton on a toolbar from a Visual Studio add-in.

March 18, 2012

When a CommandBarButton is created from a Command on a Visual Studio menu, it has an icon and a text. However, when it is created on a toolbar, it can have only an icon, or an icon and a text. Typically buttons on a toolbar have only an icon (without a text). There are two […]


MZ-Tools Articles Series: HOWTO: Create a command with a custom picture using a managed satellite DLL for a XML-based Visual Studio add-in.

March 16, 2012

I have created a new article that shows a whole example of an add-in creating a command and a button with a custom picture using a satellite managed (.NET) dll: HOWTO: Create a command with a custom picture using a managed satellite DLL for a XML-based Visual Studio add-in. http://www.mztools.com/articles/2012/MZ2012002.aspx While I had the article […]


VS 11 Beta issue for add-ins and extensions: asynchronous solution loading

March 13, 2012

In the Visual Studio blog it has been published the expected Visual Studio 11 Beta Performance Part #2 about changes in the solution loading experience that can explain the issues that I posted some days ago: VS 11 Beta issue: EnvDTE.Project.CodeModel returns null for a project just loaded without open documents http://blogs.msmvps.com/carlosq/2012/03/09/vs-11-beta-issue-envdte-project-codemodel-returns-null-for-a-project-just-loaded-without-open-documents.aspx VS 11 Beta […]


VS 11 Beta: language packs

March 12, 2012

One new “feature” of Visual Studio 11 is that it will support language packs to provide multiple languages for the user interface (UI). You can download them for VS 11 Beta here: Microsoft Visual Studio 11 Beta Language Pack http://www.microsoft.com/en-us/download/details.aspx?id=30681 This is something I wanted to have since long time ago (I wish Visual Studio […]


VS 11 Beta issue: EnvDTE.SolutionEvents.Opened event not fired for a solution just loaded without open documents

March 9, 2012

Another issue related to my last post  VS 11 Beta issue: EnvDTE.Project.CodeModel returns null for a project just loaded without open documents is the following: the SolutionEvents.Opened event is not fired when you open a solution that was closed previously with all documents closed. Furthermore, the event is not firing when you open some document!. […]


VS 11 Beta issue: EnvDTE.Project.CodeModel returns null for a project just loaded without open documents

March 9, 2012

Two of the unit tests of my MZ-Tools add-in failed due to a change in VS 11 Beta that took me a couple of hours to isolate: if your add-in opens a solution and no document is open (for example, because the solution was closed previously with all documents closed), the EnvDTE.Project.CodeModel property returns null. […]


VS 11: Target framework combobox now in "Application" section of VB.NET Project Properties

March 8, 2012

Since Visual Studio 2008 introduced multi-targeting .NET Framework, one weird thing of VB.NET projects was that to change the .NET Framework of a VB.NET application you had to go to the project properties window, “Compile” section (whose settings depend on the Configuration and Platform!), click the “Advanced Compiled Options…” and then you had a “Target […]