真正禁用 XML Schema Explorer
第一次在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
微软有两个单独的线程,都至少部分地回答了:
如何关闭 XML 架构资源管理器?
此链接建议重置所有开发环境设置。
devenv /ResetSettings
用户数据
devenv.exe /resetuserdata
和 Windows 布局。报告用户回答说,窗口位置似乎不是问题所在,但他们报告称自己通过以下方式暂时解决了问题:
他们还表示,他们未能将 XSD 文件扩展名分配给 XML 编辑器。
如何阻止 XML Schema Explorer 默认打开?
其中指出该工具“默认隐藏” 。它鼓励用户引用:
取消引用。
注意:这些步骤将重置您的所有设置。此外,评论者也没有看到成功。
希望以上两者之一能够解决您的问题。
作为第一次尝试,我建议将文件扩展名重新映射为某些非 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:
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:
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.