With the latest CTP of Visual Studio come some changes to how the custom visualizers work. I had previously created a few using this example. So when I got the December release I copied one of the projects over to see if it still worked. Well it didn't for a number of reasons.
The Visual Studio team has done some housekeeping. I was never able to actually get the visualizer to completely work so If someone has I'd love to know how. Below are the material changes that I had to make to get the project to compile and the custom visualizer to actually show up in the IDE.
The previous release used an assembly called meehost.dll. This has been replaced with the new Microsoft.VisualStudio.Debugger.Visualizers assembly. Which can be found at a different location: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies
You will also need to add a using statement for the new namespace
All Visualizers are now modal so the VisualizerUIType is gone and the old interface as been deprecated.
The orignal call to show was:
Show(IServiceProvider windowService, IVisualizerObjectProvider objectProvider, VisualizerUIType uiType)
New one:
protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
Copy your newly created visualizer to C:\Program Files\Microsoft Visual Studio 8\Common7\Packages\Debugger\Visualizers
When you execute the app you should see the new visualizer. When I execute mine I get: Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.RemoteObjectSourceException: Cannot create Visualizer Object Source --->