xsd文件生成cs文件命令

C:\Windows\System32>xsd.exe c:/Createst.xsd -c

C:\Windows\System32>xsd.exe c:/Creauest.xsd /c /Language:C# /outputdir:d:\

生成的cs带命名空间:C:\Windows\System32>xsd.exe c:/CreateOruest.xsd /n:这里写命名空间 /c /Language:C# /outputdir:d:\

 

C:\Users\csang\source>xsd /c /n:"EntityQry"(命名空间) "C:\Request.xsd"(目标文件路径)
Microsoft(R) Xml 架构/数据类型支持实用工具
[Microsoft (R) .NET Framework, Version 4.6.1055.0]
Copyright (C) Microsoft Corporation. All rights reserved.
正在写入文件“C:\Users\csang\source\Request.cs”。

posted @ 2017-10-16 11:00  杜子烟  阅读(349)  评论(0编辑  收藏  举报