Beetlejuice
Beetlejuice

Reputation: 4425

svcutil and Description attribute

When I use SvcUtil to generate the client-side class it does not include the "Description" attribute from the server-side class.

How to do this ?

Upvotes: 1

Views: 319

Answers (1)

Sixto Saez
Sixto Saez

Reputation: 12680

Unfortunately, you'll be doing a lot of "heavy lifting" to include documentation in generated client code. SvcUtil does not support generating description/documentation from the WSDL.

To accomplish this manually, you need to implement a custom WSDL importer as shown in this good MSDN article on the subject. Lucky, there is a code sample in the WCF 4 code samples library showing how its done.

Upvotes: 1

Related Questions