Pingpong
Pingpong

Reputation: 8019

Generate C# Code from *.xsd files for use as WCF service

Update

I want to generate C# classes files to be used as WCF service based on *.xsd files. How can I achieve that?

Upvotes: 0

Views: 1503

Answers (2)

amer jamaeen
amer jamaeen

Reputation: 1

use wcf.blue plugin for visual studio

Upvotes: 0

Bernard
Bernard

Reputation: 7961

Simply try:

svcutil <xsd_file>

where <xsd_file> is the path to the XSD file. As John Saunders mentioned, read the command-line syntax and available command options using svcutil /?. This tool does have a lot of functionality, so read carefully.

Also, remember to use the Windows SDK Command Prompt instead of the standard Command Prompt to execute this tool.

Upvotes: 0

Related Questions