My ToolBox Show Multiple Copies Of The Same Control (VS2008)

懵懂的女人 提交于 2019-12-22 12:17:09

问题


My Visual Studio is all messed up and I have no idea why. See the screenshot below. The controls are repeated 3 times. I tried reseting the toolbox; still no luck. The solution contains one ASP.NET Web Application and few class library. None of the projects have referenece to System.Windows.Form, still components from System.Windows.Forms are selected in the Choose Items dialog box.

Is it only me or anybody else has ever faced such a weird problem?

messed up vs toolbox http://img525.imageshack.us/img525/9171/toolboxissuelu6.jpg

-- Zuhaib


回答1:


You probably have your toolbox items in the on-disk cache or settings.

  1. Close Visual Studio
  2. Ensure no instances of devenv is running.
  3. Go to Users\\AppData\Local\Microsoft and look for Visual Studio temp files.
  4. Delete the temp files.
  5. Go to Users\\Documents\VisualStudio 2008\Settings and make backups of your settings files, then delete the originals.
  6. Reopen VS.NET, you should be prompted to choose your developer settings.


来源:https://stackoverflow.com/questions/283238/my-toolbox-show-multiple-copies-of-the-same-control-vs2008

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