[xsd-users] Problem building Hello example using Visual Studio 2003 .NET

Johnstun, Cliff-p98697 Clifford.Johnstun at gdc4s.com
Tue May 16 17:00:04 EDT 2006


Using Visual Studio 2003 .Net IDE, I tried to compile the Hello example
and get the following error:

xsd hello.xsd
Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Error: invalid command line argument: 'cxx-parser'.
If you would like more help, please type "xsd /?".
Project : error PRJ0019: A tool returned an error code from "xsd
hello.xsd"


I ran xsd from a command window and it generated the hello.cxx,
hello.hxx, & hello.txx files.

My build log from visual studio:

COMMAND LINES
Creating temporary file
"d:\Profiles\P98697\projects\xsd-x.y.z\examples\cxx\parser\hello\Debug\B
AT000001.bat" with contents
[
@echo off
xsd cxx-parser hello.xsd

if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "xsd
hello.xsd"
exit 1
:VCEnd
]
Creating command line
""d:\Profiles\P98697\projects\xsd-x.y.z\examples\cxx\parser\hello\Debug\
BAT000001.bat""

OUTPUT WINDOW
xsd hello.xsd
Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Error: invalid command line argument: 'cxx-parser'.
If you would like more help, please type "xsd /?".
Project : error PRJ0019: A tool returned an error code from "xsd
hello.xsd"

RESULTS
Build log was saved at
"file://d:\Profiles\P98697\projects\xsd-x.y.z\examples\cxx\parser\hello\
Debug\BuildLog.htm"
hello - 1 error(s), 0 warning(s)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codesynthesis.com/pipermail/xsd-users/attachments/20060516/99ae1a28/attachment.html


More information about the xsd-users mailing list