The lack of code model support inside methods

January 30, 2009

As you probably know, the code model (EnvDTE.ProjectItem.FileCodeModel) of the automation model of Visual Studio doesn’t provide information of variables, constants, statements, etc. inside a method. At most, you get the parameters of the method. Eric Lippert explains in this post how the C# (or other compilers) work. It happens that they need two steps: […]

HTML/ASP.NET extensibility for VS 2010: it’s now or never

January 22, 2009

If you have written add-ins for Visual Studio that deal with Windows Forms, and have tried to make it work with HTML/ASP.NET pages and controls, you already know that, well, it is quite difficult if not impossible because: HTML pages contain HTML controls, while ASP.NET pages can contain HTML controls or ASP.NET controls VS 2008 […]

The strange case of sporadic COMException 0x800A01A8 calling CommandBarButton.Delete from a Visual Studio add-in

January 20, 2009

I don’t have an answer to this strange case, but after 4+ years getting reports from users, I will write about it just in case someone can post a solution. When using a temporary user interface (not a permanent one), add-ins typically add CommandBarButtons to commandbars using Command.AddControl when loaded. When the add-in is unloaded, […]

MSDN Community Content Top Contributor Award

January 16, 2009

Last year I spent some weeks adding links to my MZ-Tools articles series in the Community Content section of the MSDN documentation of Visual Studio extensibility, to help developers extending Visual Studio with HOWTO articles, etc. This week Microsoft has notified me that I’ll receive one of the “20 Community Content Top Contributor Awards for […]

The strange case of "%ALLUSERSPROFILE%\Datos de programa\Microsoft\MSEnvShared\AddIns" add-In file path

January 16, 2009

(Or why it is a bad idea for an add-in to add add-in file paths to Visual Studio) When Visual Studio 2005 introduced XML-based add-ins, which used an .AddIn file rather than COM registration), rather than providing just two fixed folders to place such files (one for all users, other for the current user), Microsoft […]

Three things from Eclipse that would be nice to have in Visual Studio to develop extensions

January 9, 2009

While I have been working with Visual Studio .NET since the first version (2002), some years ago I started a start-up with a friend to develop crossword games for J2ME-enabled mobile phones. So I learned Java, downloaded the Eclipse IDE and the EclipseME plug-in (now Mobile Tools for Java) to develop J2ME MIDLets, and I […]

VB.NET 10.0 and C# 4.0 future directions: co-evolution and "compiler as service"

January 8, 2009

In the last days I have watched (among others) two videos of the PDC 2008 about subjects that are always of interest for developers of extensions for Visual Studio, specially if the extension deals with source code, which will be the usual thing in most cases: Future Directions for Microsoft Visual Basic The Future […]

Happy New Year 2009 and MVP again!

January 1, 2009

Hello all, and Happy New Year! I have just received today the e-mail from Microsoft awarding me the Microsoft Most Valuable Professional (MVP) title again (this is the sixth one since 2004!). I am very grateful and excited about this award and along with feedback that I receive from people it really encourages me to […]