Reputation: 13
I am trying to generate a Cs c# file from an XSD I have. I have tried executing the following command:
D:\>xsd /dataset /language:CS /outputdir:D:\UKBTrunk\SaaS UKB Core Trunk\Shared\d
otNet\BT.SaaS.Core.Shared\BT.SaaS.Core.Shared.Interfaces\SharedContracts\CMPS\Re
sponse getAgreementPlanChangeHistory.xsd
I am getting the error:
Error: invalid command line argument: 'UKB'.
What am I doing wrong?
Upvotes: 0
Views: 1040
Reputation: 50672
The error message gave it away; the program considers UKB
not to be a part of the path.
Add quotes:
D:\>xsd /dataset /language:CS/outputdir:"D:\UKBTrunk\SaaS UKB Core Trunk\Shared\dotNet\BT.SaaS.Core.Shared\BT.SaaS.Core.Shared.Interfaces\SharedContracts\CMPS\Response" getAgreementPlanChangeHistory.xsd
Upvotes: 5