Wcf: dotnet svcutil: generate classes from XSD

Created on 31 Jan 2019  路  2Comments  路  Source: dotnet/wcf

Hi
I wonder if it is possible to generate only classes (and not the client) with the dotnet svcutil from a set of XSD files. The same way we used to do with the old xsd command line provided the /c switch.
The reason behind this: in our project we need to extract data types from a set of provided XSD files first and write the code for the webservice client manually later.

Bests
Ramin

feature request priority 3 tooling

Most helpful comment

@Ramin2c This sounds similar to the original svcutil's /dataContractOnly argument. Would adding that option to dotnet-svcutil give you what you're looking for?

All 2 comments

@Ramin2c This sounds similar to the original svcutil's /dataContractOnly argument. Would adding that option to dotnet-svcutil give you what you're looking for?

@dasetser Yes, that sounds good!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

weitzhandler picture weitzhandler  路  6Comments

Petermarcu picture Petermarcu  路  4Comments

kevinoid picture kevinoid  路  6Comments

Adam-Tg picture Adam-Tg  路  5Comments

DotNetPart picture DotNetPart  路  6Comments