Visual Studio 2015 DataTable/DataSet Visualizer crashes IDE

Bob picture Bob · Jul 29, 2015 · Viewed 8.1k times · Source

Whenever I try to open the DataTable or DataSet Visualizer it crashes the IDE.

I tried the various command-line switches to reset everything, started in /SafeMode and undertook a repair of VS. Nothing has helped so far.

As far as I can tell it's only those two visualizers that crash.

I also tried starting VS with the /Log switch, but unfortunately it doesn't seem to log the crash there...

How can I find out what's the problem and fix it?

EDIT:

Seems like a problem with the .NET Framework prior to version 4.0: https://connect.microsoft.com/VisualStudio/feedback/details/1711642 https://connect.microsoft.com/VisualStudio/Feedback/Details/1709336

Answer

Didzis Stivriņš picture Didzis Stivriņš · Aug 31, 2015

I had the same problem after 4h experimenting I manage to fix it by going to

Tools => Options => Debugging and turning on Use Managed Compatibility Mode

Found better workaround
Tools => Options => Debugging and turning on Use the legacy C# and VB expression evaluators This one doesn't turn off some new features like "Diagnostic Tools".

Update - Visual Studio 2015 Update 1 Fixes this problem