wcf - svcutil.exe Error: The input read from 'serializer:DataContractSerializer' is inconsistent with other options -


i trying contract-first devlopment wcf. have xsd schema. trying generate data contract. following command right out of book, microsoft windows communication foundation 4.0 cookbook developing soa applicationsbut generates error specified in title. doing wrong?

 c:\dev\globalwarequalitycontrolservice\schema>svcutil.exe /target:code /datacont ractonly serializer:datacontractserializer /importxmltypes carbookingrq.xsd 

microsoft (r) service model metadata tool [microsoft (r) windows (r) communication foundation, version 4.0.30319.1] copyright (c) microsoft corporation. rights reserved.

microsoft (r) service model metadata tool [microsoft (r) windows (r) communication foundation, version 4.0.30319.1] copyright (c) microsoft corporation. rights reserved.

error: input read 'serializer:datacontractserializer' inconsistent w ith other options.

the answer serializer needs slash in front of it.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -