问题
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.
- Close Visual Studio
- Ensure no instances of devenv is running.
- Go to Users\\AppData\Local\Microsoft and look for Visual Studio temp files.
- Delete the temp files.
- Go to Users\\Documents\VisualStudio 2008\Settings and make backups of your settings files, then delete the originals.
- 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