visual-studio DataTable 可视化工具从我的 Visual Studio 中消失了
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/239206/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
DataTable visualizer disappeared from my Visual Studio
提问by Lea Cohen
A while ago I noticed I don't have a magnifying-glass next to my datatables. I used to have it, and somehow, sometime, it disappeared...
Has anyone seen this happen? Do you know how to help me view my datatables again?
不久前,我注意到我的数据表旁边没有放大镜。我曾经拥有它,但不知何故,有时它消失了......
有人见过这种情况吗?你知道如何帮助我再次查看我的数据表吗?
Update:I'm still clueless about this. Could anyone point me in some direction, where should I even start looking for an answer? Thanks a lot.
更新:我对此仍然一无所知。任何人都可以指出我的方向,我应该从哪里开始寻找答案?非常感谢。
Update:I changed to a new computer, and still the same problem. But I pinpointed it to being only in Visual Studio 2005. On Visual Studio 2008 I have perfectly normal DataSet and Datatable visualizers. So I tried re-installing VS2005, to make sure all the components were installed, nothing left out - but Nada. Still no visualizer.
更新:我换了一台新电脑,还是同样的问题。但我指出它只存在于 Visual Studio 2005 中。在 Visual Studio 2008 上,我有完全正常的 DataSet 和 Datatable 可视化工具。所以我尝试重新安装 VS2005,以确保安装了所有组件,没有遗漏任何东西 - 除了 Nada。仍然没有可视化工具。
Update:Found the solution to my problem: My answer
更新:找到了我的问题的解决方案:我的答案
回答by Lea Cohen
I was really bothered by the problem, so I turned to Microsoft support, and they solved my problem! The short solution is that apparently one of the DLL's in the My Documents\Visual Studio 2005\Visualizers folder was corrupted. I deleted all the contents of the folder, and the visualizer came back.
The long answer can be found in this post written by Faruk Celik- the person from Microsoft who solved my problem.
我真的被这个问题困扰,所以我求助于微软支持,他们解决了我的问题!简短的解决方案是,显然 My Documents\Visual Studio 2005\Visualizers 文件夹中的 DLL 之一已损坏。我删除了文件夹的所有内容,可视化工具又回来了。
可以在 Faruk Celik 撰写的这篇文章中找到详细的答案,他是来自 Microsoft 的人,他解决了我的问题。
回答by Shay Erlichmen
- Create a new clean project, does the Visualizer show up there?
- Check if this file exist: "\Program Files\Microsoft Visual Studio 8.0\Common7\Packages\Debugger\Visualizers\Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll"
- Check if the dll is loaded in Visual Studio, Open your project, then open anther Visual Studio, attach the debugger into the first Visual Studio (Make sure that managed debugger is selected). Inside the debuggingVisual Studio open Debug/Windows/Modules to see if the DataSetVisualizer is loaded.
- try devenv /ResetSettingsfrom an admin console.
- 创建一个新的干净项目,Visualizer 是否显示在那里?
- 检查此文件是否存在:“\Program Files\Microsoft Visual Studio 8.0\Common7\Packages\Debugger\Visualizers\Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll”
- 检查 dll 是否在 Visual Studio 中加载,打开您的项目,然后打开另一个 Visual Studio,将调试器附加到第一个 Visual Studio(确保选择了托管调试器)。在调试Visual Studio 中打开 Debug/Windows/Modules 以查看是否加载了 DataSetVisualizer。
- 从管理控制台尝试devenv /ResetSettings。
回答by ablesa
I know this is an old post, but I have been fighting this same issue. Nothing solved my problem... I finally figured out that I had been running Visual Studio in compatibility mode (Windows 7 os). Once I ran devenv.exe without compatibility mode set, the visualizers showed up again.
我知道这是一个旧帖子,但我一直在与同样的问题作斗争。没有什么能解决我的问题......我终于发现我一直在兼容模式下运行 Visual Studio(Windows 7 操作系统)。一旦我在没有设置兼容模式的情况下运行 devenv.exe,可视化工具再次出现。
回答by jsw
Give devenv /resetskippkgsa try...
给devenv的/ resetskippkgs一试...
回答by Kumar
I am using Visual Studio 2017 and I had the same issue. I realised the visualizers folder is missing in my documents. I think this is something to do with the recent windows upgrade on the office computer. I have resolved it by creating an empty Visualizers folder.
我正在使用 Visual Studio 2017 并且遇到了同样的问题。我意识到我的文档中缺少可视化工具文件夹。我认为这与最近办公室计算机上的 Windows 升级有关。我通过创建一个空的 Visualizers 文件夹解决了这个问题。
回答by Kai
I have the same problem and it drives me crazy. Finally, I have it works after trying many advice from Googling and trail and error.
我有同样的问题,这让我发疯。最后,在尝试了谷歌搜索的许多建议以及跟踪和错误后,我让它起作用了。
- \Common7\IDE\devenv.exe /resetuserdata at the command prompt.
- I rename Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll to Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll.test on both C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies And \My Documents\Visual Studio 2005\Visualizers
- \Common7\IDE\devenv.exe /resetuserdata 在命令提示符下。
- 我在 C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies 和 \My Documents\Visual Studio 2005\ 上将 Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll 重命名为 Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll.test展示台
回答by lucky.expert
I was having the same problem, nothing would appear when I hovered over my dataset variable. I was finally able to see the dataset visualizer when I added my.forms in front of my dataset variable in the Watch window
我遇到了同样的问题,当我将鼠标悬停在我的数据集变量上时什么也不会出现。当我在 Watch 窗口中的数据集变量前面添加 my.forms 时,我终于能够看到数据集可视化工具
回答by zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
回答by user2936739
Execute Visual Studio as administrator. Right click and execute as administrator and the magnifying-glass appears next to datatables.
以管理员身份执行 Visual Studio。右键单击并以管理员身份执行,数据表旁边会出现放大镜。

