我的工具箱显示同一控件的多个副本(VS2008)

发布于 07-09 17:17 字数 434 浏览 11 评论 0原文

我的 Visual Studio 完全混乱,我不知道为什么。 请参阅下面的屏幕截图。 对照重复 3 次。 我尝试重置工具箱; 还是没有运气。 该解决方案包含一个 ASP.NET Web 应用程序和几个类库。 所有项目都没有引用 System.Windows.Form,但仍然在“选择项”对话框中选择 System.Windows.Forms 中的组件。

只有我或其他人遇到过如此奇怪的问题吗?

与工具箱相比混乱http://img525.imageshack.us/img525/9171/toolboxissuelu6。 jpg

——祖海布

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

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

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

发布评论

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

评论(1

鲸落2024-07-16 17:17:43

您的工具箱项目可能位于磁盘缓存或设置中。

  1. 关闭 Visual Studio
  2. 确保没有 devenv 实例正在运行。
  3. 转到 Users\\AppData\Local\Microsoft 并查找 Visual Studio 临时文件。
  4. 删除临时文件。
  5. 转到 Users\\Documents\VisualStudio 2008\Settings 并备份设置文件,然后删除原始文件。
  6. 重新打开 VS.NET,系统会提示您选择开发人员设置。

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.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文