DataTable visualizer disappeared from my Visual Studio

心不动则不痛 提交于 2019-11-26 18:33:00

问题


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


回答1:


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.




回答2:


  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.



回答3:


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.




回答4:


Give devenv /resetskippkgs a try...




回答5:


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.




回答6:


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



回答7:


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




回答8:


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




回答9:


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



来源:https://stackoverflow.com/questions/239206/datatable-visualizer-disappeared-from-my-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!