真正禁用 XML Schema Explorer

发布于 2024-09-25 19:35:45 字数 295 浏览 3 评论 0原文

第一次在 Visual Studio 2008 SP1 实例中打开 XML 文件时,它会打开 XML 架构资源管理器。我想禁用它。这可能吗?

背景:我正在 VMware 环境中进行开发(是的,我同意,这才是真正的问题)。 XML Schema Explorer 使用图形加速,这会使 VM 变得混乱(它退出全屏模式、闪烁,有时甚至冻结)。我可以禁用虚拟机中的图形加速,但这会阻止我与主机共享光标机器,我宁愿保留它。

The first time you open up an XML file in a Visual Studio 2008 SP1 instance, it opens up XML schema explorer. I want to disable it. Is this possible?

Background: I'm developing within a VMware environment (yes, I agree, that is the real problem here). XML Schema Explorer uses graphics acceleration, and this messes up the VM (it drops out of full-screen mode, flashes, and sometimes freezes). I could disable the graphics acceleration in the VM, but that would stop me sharing the cursor with the host machine, and I'd rather retain that.

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

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

发布评论

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

评论(1

遗忘曾经 2024-10-02 19:35:45

微软有两个单独的线程,都至少部分地回答了:

如何关闭 XML 架构资源管理器?
此链接建议重置所有开发环境设置。

devenv /ResetSettings

用户数据

devenv.exe /resetuserdata

和 Windows 布局。报告用户回答说,窗口位置似乎不是问题所在,但他们报告称自己通过以下方式暂时解决了问题:

我点击窗口上的“图钉”,然后将其滑开,然后单击X按钮,然后重新启动VS2008,窗口就消失了。

他们还表示,他们未能将 XSD 文件扩展名分配给 XML 编辑器。

如何阻止 XML Schema Explorer 默认打开?

其中指出该工具“默认隐藏” 。它鼓励用户引用:

  1. 单击 Visual Studio 中的“工具”菜单,然后选择“导入和导出设置”。
  2. 选择重置所有设置单选按钮,然后单击下一步按钮
  3. 如果需要,备份当前设置,然后单击下一步按钮
  4. 选择设置、C# 开发设置或 Web 开发设置,然后单击完成按钮

取消引用。

注意:这些步骤将重置您的所有设置。此外,评论者也没有看到成功。

希望以上两者之一能够解决您的问题。

作为第一次尝试,我建议将文件扩展名重新映射为某些非 XML 编辑体验(文本)。

Microsoft has two separate threads, both answered, at least in part:

How do I turn off XML Schema Explorer?

This link suggested resetting ALL dev environment settings.

devenv /ResetSettings

the userdata

devenv.exe /resetuserdata

and the Windows Layout. The reporting user replied that window locations did not appear to be the issue, however they reported temporarily solving the problem themselves by:

I click on the "pushpin" on the window, and then slide it open, and then click the X button, and restart VS2008, the window goes away.

They also state that they had no luck with assigning the XSD file extension to XML Editor.

How can I keep XML Schema Explorer from opening by default?

Which called out that the tool "is hidden by default". It encouraged the user to quote:

  1. Click the Tools menu in Visual Studio and choose Import and Export Settings.
  2. Choose Reset all settings radio button and click Next button
  3. Back up the current settings if you like and then click Next button
  4. Choose settings, C# development settings or Web Development settings and click Finish button

unquote.

Note: Those steps will reset ALL your settings. Also, the commenters did not see success.

hopefully one of the two above will solve your issue.

I suggest remapping the file extension to some non-XML editing experience, text, as a first attempt.

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