Browse by Tags

All Tags » VS 2012 (RSS)

Adopting Visual Studio 2012

Finally today, after much reluctance in the past weeks, I have decided to adopt Visual Studio 2012 as the development environment for all my Visual Studio solutions, and I have just migrated them. I still find the default Light theme unpalatable but the...
Posted by carlosq | with no comments
Filed under:

MZ-Tools Articles Series: HOWTO: Get an inverted bitmap to use with the Dark theme of Visual Studio 2012 from an add-in.

There is a feature in my MZ-Tools add-in that requires to show the pictures of its commands in a treeview, to select which ones to be visible or not. When using Visual Studio 2012 and the Dark theme, the background of the form and the treeview are darked...
Posted by carlosq | with no comments

MZ-Tools Articles Series: BUG: Visual Studio 2012 doesn't theme multiline textbox with initial scrollbar on add-in toolwindow.

This is one of the bugs that I found while theming my MZ-Tools add-in with VS 2012 Dark / Light themes: BUG: Visual Studio 2012 doesn't theme multiline textbox with initial scrollbar on add-in toolwindow. http://www.mztools.com/articles/2012/MZ2012028...
Posted by carlosq | with no comments

MZ-Tools Articles Series: HOWTO: Get the Microsoft.VisualStudio.Shell.Interop.IVsUIShell5 interface to theme a Visual Studio 2012 add-in.

Another building block that I have used to theme my MZ-Tools add-in with the Visual Studio 2012 Dark/Light themes: HOWTO: Get the Microsoft.VisualStudio.Shell.Interop.IVsUIShell5 interface to theme a Visual Studio 2012 add-in: http://www.mztools.com/articles...
Posted by carlosq | with no comments

MZ-Tools Articles Series: HOWTO: Theme scrollbars of controls on a Windows Forms modal window from a Visual Studio 2012 add-in.

I had pending for weeks to theme scrollbars of controls of my MZ-Tools add-in on modal forms (Visual Studio 2012 automatically themes scrollbars of controls on toolwindows) and finally yesterday I decided to devote some time to the investigation. Here...
Posted by carlosq | with no comments

MZ-Tools Articles Series: BUG: EnvDTE.FontsAndColorsItems.Item("Keyword").Background not updated after changing Visual Studio 2012 theme.

One of the things that you need to test in a Visual Studio 2012 add-in or package is that is themed correctly when the VS theme is changed dynamically from Dark to Light or viceversa (through the Tools, Options window). I noticed that sometimes the textboxes...
Posted by carlosq | with no comments

Cyan: Another magic color for developers of Visual Studio 2012 add-ins

So far there were two magic colors to be known by developers of Visual Studio add-ins: Almost green (RGB = 0, 254, 0) to get transparency in custom bitmaps of commands. See HOWTO: Create a command with a custom picture using a managed satellite DLL for...
Posted by carlosq | with no comments
Filed under:

MZ-Tools Articles Series: HOWTO: Get the bitmap of a component type from Visual Studio add-in

Continuing with the problems introduced by the new gray icons of Visual Studio 2012, my new article explains the approach that Microsoft used to solve this problem that I reported: Document Outline toolwindow of VS 2010 shows icons of VS 11 Beta (gray...
Posted by carlosq | with no comments
Filed under:

Dark/Light themes headaches in Visual Studio 2012

On Sep 12 Microsoft launched Visual Studio 2012, arguably the ugliest Visual Studio version ever launched according to very strong feedback from the community of developers. For the first time Visual Studio added support for themes. It is arguable if...
Posted by carlosq | 1 comment(s)
Filed under:

How to detect Visual Studio 2012 theme changed using IVsBroadcastMessageEvents

In this post I showed an approach using an invisible form to trap the WM_SYSCOLORCHANGE message that is fired when VS 2012 changes the current theme (from Dark to Light or viceversa). Don't miss the comment in that post where Sean points how to do...
Posted by carlosq | with no comments
Filed under:

MZ-Tools Articles Series: HOWTO: Get the current theme and detect changing it from a Visual Studio 2012 add-in.

I am currently adding support for the Dark / Light themes of Visual Studio 2012 in my MZ-Tools 7.0 add-in for Visual Studio, which is resulting much harder than expected because there are a lot of issues. I will blog about them in a future post when the...

MZ-Tools Articles Series: BUG: Setting CommandBarPopup.Visible to False doesn't work when CommandBarPopup in context menu.

When I thought that I have fixed the bug that I explained in my last post , I found another subtle one: in VS 2010 and 2012, setting to False the Visible property of a CommandBarPopup was not honored if the CommandBarPopup was created on a context menu...
Posted by carlosq | with no comments

MZ-Tools Articles Series: BUG: CommandbarPopup.Caption changes CommandbarPopup.CommandBar.Name and viceversa.

A couple of days ago a customer of the new version MZ-Tools 7.0 for Visual Studio reported a bug regarding the dropdown menus visibility not preserved across Visual Studio sessions . I isolated the bug which happened to be a bug in the WPF-based commandbars...
Posted by carlosq | with no comments

Visual Studio 11 User Interface Updates Coming in RC

If Monty Hammontree and his team continue to ignore the community feedback like so far , this is the macro that you need to fix the ALL CAPS of the main menu of VS 11: Sub NoALLCAPS() Dim commandBar As Microsoft.VisualStudio.CommandBars.CommandBar commandBar...
Posted by carlosq | 2 comment(s)
Filed under:

Bugs with the EnvDTE.DTE.ActiveSolutionProjects property with VS 2010 and VS 11 Beta

My MZ-Tools add-in was experiencing a random "System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component." when using the EnvDTE.DTE.ActiveSolutionProjects property that I...
Posted by carlosq | with no comments
Filed under: ,

VS 11 Beta issue: making System.Windows.Forms of VS 2010 gray too

Since my laptop has several software issues that will require a fresh installation at some point in the near future, I decided to install VS 11 Beta side by side with VS 2010, and one thing that I noticed the other day was that my MZ-Tools add-in, when...
Posted by carlosq | with no comments
Filed under:

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

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...
Posted by carlosq | with no comments
Filed under:

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

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...
Posted by carlosq | 1 comment(s)
Filed under:

VS 11 Beta: language packs

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...
Posted by carlosq | with no comments
Filed under:

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

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...
Posted by carlosq | with no comments
Filed under:
More Posts Next page »