如何将XML元素添加到Visual Studio 2010 RC中的工具箱中

时间:2023-01-14 21:26:21

I'm trying to edit an XML schema in Visual Studio 2010 Ultimate RC, but when I go to the toolbox (with the schema open and focused) there's absolutely nothing in the Toolbox view, even when every tutorial out there that I've read tells me that there should be. I've tried using the context menu option for resetting the Toolbox to no effect. Is there something I'm missing ? Something I need to install to get this feature of Visual Studio going ?

我正在尝试在Visual Studio 2010 Ultimate RC中编辑XML模式,但是当我进入工具箱(模式打开并聚焦)时,工具箱视图中绝对没有任何内容,即使我读过的每个教程都已阅读告诉我应该有。我尝试使用上下文菜单选项重置工具箱无效。有什么我想念的吗?我需要安装一些东西来获得Visual Studio的这个功能吗?

2 个解决方案

#1


2  

This an old question, I know, but for anyone that comes across this looking for the XML Schema tab in the Visual Studio 2010 Toolbox: There is none. Microsoft didn't include it in the newer versions of Visual Studio and they don't seem to have plans to add one. I'm using a similar tool provided with Eclipse: http://www.eclipse.org/downloads/compare.php (pick a package with XML Tools).

这是一个老问题,我知道,但对于遇到此问题的人来说,在Visual Studio 2010工具箱中寻找XML Schema选项卡:没有。微软没有将它包含在较新版本的Visual Studio中,他们似乎没有计划添加一个。我正在使用Eclipse提供的类似工具:http://www.eclipse.org/downloads/compare.php(使用XML Tools选择一个包)。

#2


0  

be sure your XML Designer is in schema view when you have your xsd file open in visual studio. you can make sure its open this way by right-clicking the xsd file and selecting open with --> xml schema editor

在Visual Studio中打开xsd文件时,请确保您的XML Designer处于架构视图中。您可以通过右键单击xsd文件并使用 - > xml架构编辑器选择打开来确保以这种方式打开它

#1


2  

This an old question, I know, but for anyone that comes across this looking for the XML Schema tab in the Visual Studio 2010 Toolbox: There is none. Microsoft didn't include it in the newer versions of Visual Studio and they don't seem to have plans to add one. I'm using a similar tool provided with Eclipse: http://www.eclipse.org/downloads/compare.php (pick a package with XML Tools).

这是一个老问题,我知道,但对于遇到此问题的人来说,在Visual Studio 2010工具箱中寻找XML Schema选项卡:没有。微软没有将它包含在较新版本的Visual Studio中,他们似乎没有计划添加一个。我正在使用Eclipse提供的类似工具:http://www.eclipse.org/downloads/compare.php(使用XML Tools选择一个包)。

#2


0  

be sure your XML Designer is in schema view when you have your xsd file open in visual studio. you can make sure its open this way by right-clicking the xsd file and selecting open with --> xml schema editor

在Visual Studio中打开xsd文件时,请确保您的XML Designer处于架构视图中。您可以通过右键单击xsd文件并使用 - > xml架构编辑器选择打开来确保以这种方式打开它