简体   繁体   English

将 Dll 转换为 XSD 方案

[英]Convert Dll to XSD scheme

I want to convert C# to XSD.我想将 C# 转换为 XSD。 I found on Microsoft site possible solution for me ( XML Schema Definition Tool )我在 Microsoft 站点上为我找到了可能的解决方案( XML Schema Definition Tool

It has two simple methods:它有两个简单的方法:

  • xsd mySchema.xsd - Parse XSD to DLL xsd mySchema.xsd - 将 XSD 解析为 DLL
  • xsd MyFile.dll - Parse DLL to XSD xsd MyFile.dll - 将 DLL 解析为 XSD

I start CMD as administrator and execute the command, but I have a problem: Access is denied.我以管理员身份启动 CMD 并执行命令,但我有一个问题:访问被拒绝。 在此处输入图片说明

I try something like this , but no results.我尝试像这样,但没有结果。 What I can do?我可以做什么?

It needs to be executed in Developer CMD.它需要在Developer CMD中执行。 Check for the Developer command prompt in windows search with the similar version of your visual studio.使用类似版本的 Visual Studio 在 Windows 搜索中检查开发人员命令提示符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM