Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
更新
我想基于 *.xsd 文件生成用作 WCF 服务的 C# 类文件。我怎样才能做到这一点?
使用 Visual Studio 的 wcf.blue 插件
只需尝试:
svcutil <xsd_file>
<xsd_file>XSD 文件的路径在哪里。正如 John Saunders 所提到的,阅读命令行语法和可用的命令选项,使用svcutil /?. 这个工具确实有很多功能,所以请仔细阅读。
<xsd_file>
svcutil /?
此外,请记住使用 Windows SDK 命令提示符而不是标准命令提示符来执行此工具。