是"xsd"吗? Visual Studio 2012命令窗口中不支持该命令? [英] Is the "xsd" command not supported in Visual Studio 2012 command window?

查看:140
本文介绍了是"xsd"吗? Visual Studio 2012命令窗口中不支持该命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读到可以在Visual Studio(2010)中直接运行xsd命令.我的机器上以及运行时都装有VS 2012

I've read that it is possible to run xsd commands right in visual studio (2010). I have VS 2012 on my machine and when I run

xsd XMLFile.xml

我知道

命令"xsd"无效.

Command "xsd" is not valid.

那么,VS 2012中是否不支持"xsd"命令,VS 2012中是否还有其他方法可以执行"xsd"?

So, is the "xsd" command not supposted in VS 2012 and is there any other way to execute "xsd" in VS 2012?

推荐答案

xsd.exe可从"VS2012开发人员命令提示符"获得,而不是VS2012 IDE的命令窗口.

xsd.exe is available from the 'Developer Command Prompt for VS2012, not the command window that is part of the VS2012 IDE.

"VS2012开发人员命令提示符"本身可以从开始"菜单->所有程序-> Microsoft Visual Studio 2012-> Visual Studio工具-> Visual Studio Command Prompt for VS2012启动

The 'Developer Command Prompt for VS2012' itself can be started from Start Menu -> All Programs -> Microsoft Visual Studio 2012 -> Visual Studio Tools -> Visual Studio Command Prompt For VS2012

这篇关于是"xsd"吗? Visual Studio 2012命令窗口中不支持该命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆