LINQ to SQL visualizer for VS 2010?

Cédric Boivin picture Cédric Boivin · Jan 21, 2011 · Viewed 10.8k times · Source

I am trying to find a LINQ to SQL visualizer for Visual Studio 2010.

Anybody know of one somewhere?

When i was using vs 2008 i used this one.

But with vs 2010 it does not work.

I tried this one, but it didn't work either!

Is there a visual studio 2010 visualizer for Linq to SQL ?? thanks

The tools must be integrated in vs 2010.

Answer

Cédric Boivin picture Cédric Boivin · Jan 25, 2011

After research i found this article and they talk we need to recompile the linq-to-sql visualizer with vs 2010 dll reference, and it's working very nicely.

So there is the solutions

Moreover while this meta language can express things more concisely, I guess they’ll be a range of scenarios where I’ll prefer to keep using C# 2008 Samples Expression Tree Visualizer (Expression Tree visualization through a Windows Form Tree) or Manuel Abadia Linq Expression Debugger Visualizer (Expression tree visualization through a graph). I noticed that both these addin doesn’t work as-is on VS 2010 and the trick I wanted to share here is that, to use them under VS 2010, you just need to recompile them by referencing the VS 2010 assembly Microsoft.VisualStudio.DebuggerVisualizers.dll (found in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.VisualStudio.DebuggerVisualizers.dll) instead of the VS 2008 assembly with the same name. This works like a charm with the C# 2008 Samples Expression Tree Visualize used in VS 2010 on .NET 4 and .NET 3.5 projects. I expect the same good result with the Manuel Abadia piece of code (but source code is not available here so I couldn’t recompile, Manuel can you do that?).