DataTable 可视化工具从我的 Visual Studio 中消失了

发布于 2024-07-08 11:03:36 字数 532 浏览 11 评论 0原文

不久前,我注意到数据表旁边没有放大镜。 我曾经拥有它,不知何故,有时,它消失了......
有人见过这种情况发生吗? 您知道如何帮助我再次查看我的数据表吗?

更新:我对此仍然一无所知。 谁能指出我的方向,我应该从哪里开始寻找答案? 多谢。

更新:我换了一台新电脑,仍然有同样的问题。 但我指出它仅存在于 Visual Studio 2005 中。在 Visual Studio 2008 上,我有完全正常的数据集和数据表可视化工具。 所以我尝试重新安装 VS2005,以确保所有组件都已安装,没有遗漏任何内容 - 但没有。 仍然没有可视化工具。

更新:找到了我的问题的解决方案:我的回答

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.

Update: Found the solution to my problem: My answer

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(10

阳光下慵懒的猫 2024-07-15 11:03:36

我真的被这个问题困扰了,所以我求助于微软支持,他们解决了我的问题! 简而言之,解决方案是“我的文档\Visual Studio 2005\Visualizers”文件夹中的 DLL 之一显然已损坏。 我删除了该文件夹的所有内容,可视化工具又回来了。
可以找到长答案 这篇由 Faruk Celik 撰写的文章 - 来自 Microsoft 的人解决了我的问题。

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.

月野兔 2024-07-15 11:03:36
  1. 创建一个新的干净项目,Visualizer 是否出现在那里?
  2. 检查此文件是否存在:“\Program Files\Microsoft Visual Studio 8.0\Common7\Packages\Debugger\Visualizers\Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll”
  3. 检查该dll是否已在Visual Studio中加载,打开您的项目,然后打开在另一个 Visual Studio 中,将调试器附加到第一个 Visual Studio 中(确保选择了托管调试器)。 在调试 Visual Studio 中打开 Debug/Windows/Modules 以查看 DataSetVisualizer 是否已加载。
  4. 从管理控制台尝试devenv /ResetSettings
  1. Create a new clean project, does the Visualizer show up there?
  2. Check if this file exist: "\Program Files\Microsoft Visual Studio 8.0\Common7\Packages\Debugger\Visualizers\Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll"
  3. 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 debugging Visual Studio open Debug/Windows/Modules to see if the DataSetVisualizer is loaded.
  4. try devenv /ResetSettings from an admin console.
幼儿园老大 2024-07-15 11:03:36

我知道这是一篇旧文章,但我一直在解决同样的问题。 没有解决我的问题...我终于发现我一直在兼容模式(Windows 7 操作系统)下运行 Visual Studio。 一旦我在没有设置兼容模式的情况下运行 devenv.exe,可视化工具就会再次出现。

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.

孤星 2024-07-15 11:03:36

尝试一下devenv /resetskippkgs...

Give devenv /resetskippkgs a try...

始终不够 2024-07-15 11:03:36

我正在使用 Visual Studio 2017,并且遇到了同样的问题。 我意识到我的文档中缺少可视化工具文件夹。 我认为这与最近办公室电脑的Windows升级有关。 我已经通过创建一个空的 Visualizers 文件夹解决了这个问题。

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.

作死小能手 2024-07-15 11:03:36

我也有同样的问题,这让我发疯。 最后,在尝试了谷歌搜索和试错的许多建议后,我让它起作用了。

  1. 在命令提示符下 \Common7\IDE\devenv.exe /resetuserdata。
  2. 我将 Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll 重命名为 Microsoft.VisualStudio.Debugger.DataSetVisualizer.dll.test
    C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies

    \我的文档\Visual Studio 2005\Visualizers

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.

  1. \Common7\IDE\devenv.exe /resetuserdata at the command prompt.
  2. 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
孤凫 2024-07-15 11:03:36

我遇到了同样的问题,当我将鼠标悬停在数据集变量上时,什么也不会出现。 当我在“监视”窗口中的数据集变量前面添加 my.forms 时,我终于能够看到数据集可视化工具了

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

把时间冻结 2024-07-15 11:03:36

以管理员身份执行 Visual Studio。 右键单击并以管理员身份执行,放大镜将出现在数据表旁边。

Execute Visual Studio as administrator. Right click and execute as administrator and the magnifying-glass appears next to datatables.

枯叶蝶 2024-07-15 11:03:36

我尝试了这篇文章中的所有内容,但没有任何效果对我有用。 我运行的是 Windows 7 64 位。 最终我能够在 这篇文章

I tried everything in this post but nothing worked for me. I am running Windows 7 64-bit. Eventually I was able to find a solution in this post

面如桃花 2024-07-15 11:03:36

我在这里尝试了所有方法,但唯一对我有用的是使用其他人的 VS 2019 来覆盖 2 个文件夹,该文件夹可以让可视化工具正常工作。

  1. C:\Users\XXXXXXXX\Documents\Visual Studio 2019\Visualizers --< XXXXXXX = 用户文件夹
  2. C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Packages\Debugger\Visualizers

I tried everything here but the only thing that worked for me was to overlay 2 folder using someone else VS 2019 that had the visualizers working.

  1. C:\Users\XXXXXXXX\Documents\Visual Studio 2019\Visualizers --< XXXXXXXX = the user folder
  2. C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Packages\Debugger\Visualizers
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文