Visual Studio: Dataset and DataTable Visualizer no

2019-01-26 16:42发布

问题:

I have just installed visual studio 2005 service pack 1 on a Windows 7 64 bit machine. Everything appears to work fine and I am able to run my project without any errors. However, when I am in debug mode I have noticed a problem with the "Watch" window for DataTables and DataSets.

I have a DataTable named dt and I enter it in the watch window. No magnifying glass appears to open the visualizer and I get the following error in the value column:

0x000000001d438c90 { KEY_XMLSCHEMA="XmlSchema" KEY_XMLDIFFGRAM="XmlDiffGram" KEY_NAME="TableName" ...}

Has anyone else had this problem? I have tried everything in this post and searched all around google but nothing worked.

回答1:

I had to copy all the files in C:\Users\username\Documents\Visual Studio 2008\Visualizers to C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Packages\Debugger\Visualizers. Specifically it was missing autoexp.dll and autoexpce.dll.