[xsd-users] using --include-regex within VisualStudio Command Line

Boris Kolpackov boris at codesynthesis.com
Fri Dec 14 01:17:40 EST 2007


Hi Matt,

Matt Burnham <matt.burnham.ctr at mhpcc.hpc.mil> writes:

> I am using XSD version 3.0 on Windows XP and run xsd within VisualStudio
> (v7) using a "Custom Build Step" with the following  "Command Line":
> xsd.exe cxx-tree --include-regex %foo/schemas%foo%
> --include-regex-trace  main.xsd

I think in the VC command lines %foo% denotes environment variable
expansion. Try to chance %foo/schemas%foo% to #foo/schema#foo#. If
that still does not work, try to add quotes: "#foo/schema#foo#" (in
the .vcproj file it should look like &quot;#foo/schema#foo#&quot;).

Boris




More information about the xsd-users mailing list