So what's happening with Visual Studio 2010 support, then?
Tuesday 15th December, 2009
Last night we had an enquiry asking whether Visual Lint supports Visual Studio 2010 Beta 2 (a very good question). As we last blogged about this subject back in June (see the blogpost Visual Studio 2010 Support for Visual Lint and LintProject Professional and a lot has happened since then I thought it was about time for an update.
The short version is that "They changed too much, and it doesn't really work very well yet, but we will have something out early next year regardless"*.
* At least as far as the internal interfaces go - the bugs we tend to find in a new version of Visual Studio are not generally the ones you will encounter if you actually use it to compile code.
The long version is, well, quite long - so please bear with me while I elaborate.
First of all, if you are interested in the sort of issues we face when a new version of Visual Studio is approaching release you could do far worse than to take a look at Carlos Quintero's blog. Carlos is the author of MZ-Tools, and one of the most prolific add-in authors out there when it comes to identifying, reporting (and blogging about) issues in the automation interfaces for new versions of the IDE.
Some time ago I realised that Visual Studio releases broadly come in two flavours - the ones where Microsoft try to change everything (e.g. Visual C++ 5.0, Visual Studio .NET 2002 and Visual Studio 2005) and those where they consolidate the changes in the previous release (e.g Visual C++ 6.0, Visual Studio .NET 2003 and Visual Studio 2008). Visual Studio 2010 - which sports not only a new and vastly more complex C++ project file format (.vcxproj) but also a new intellisense engine and WPF based editing environment - was always destined to be in the former camp.
In short, we were expecting this release to be a bit of a pain from an integrator's perspective, and - although we'd love to have been proved wrong here - we've unfortunately been dead right on that. When Beta 1 landed, it was effectively unusable from an add-in perspective (even Visual Studio 2005 Beta 1 didn't quite manage that feat) and although we were able to do some groundwork towards supporting the new IDE, it wasn't something we were happy to release, even to our beta testers.
Furthermore, because of the volume of changes that were obviously going to be needed to support Visual Studio 2010 we had to take the decision to only implement VS2010 support in our development branch (i.e. in Visual Lint 2.5) and as a result Visual Lint 2.0 does not (and will not) support it (that's the bad news; the good news comes at the end).
What's interesting is that the previous CTPs (none of which had the new editor) worked fine with our development versions, so I'm pretty convinced that the breaks we saw in Beta 2 were entirely down to the new editor implementation. We filed our bug reports, crossed our fingers and hoped Beta 2 would resolve these issues.
For some of them it did - and we now have internal builds of Visual Lint which basically work in Visual Studio 2010:

The one glaring problem remaining is menu/toolbar interfacing (one of the areas badly affected by the new editor) which is still thoroughly broken in Beta 2. Although we've been experimenting with moving the menu/toolbar interfacing for this IDE from the add-in to an associated VSPackage (the deepest and most complex level of integration available in Visual Studio) that's still not entirely satisfactory - but we are making progress so we may end up going that way anyway, despite the additional complexity it introduces.
The good news bit: Although our beta testers already have builds of Visual Lint 2.5 with VS2010 support, since we are planning to release Visual Lint 2.5 early next year the Visual Studio 2010 integration will become publicly available then. Visual Lint 2.0 will be a free update to existing Visual Lint 2.0 customers as it will accept existing v2.0 licence keys directly.
So, we will certainly have something out well in advance of the Visual Studio 2010 launch in March. How complete the Visual Lint (and ResOrg, but more of that later) integration for Visual Studio 2010 is depends on what Microsoft are able to deliver post-Beta 2, of course.
