Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Invalid command line argument: "cxx-tree" #27

Open
Aderiani opened this issue Nov 15, 2022 · 3 comments
Open

Error: Invalid command line argument: "cxx-tree" #27

Aderiani opened this issue Nov 15, 2022 · 3 comments

Comments

@Aderiani
Copy link

I updated my visual studio to the lastest version today and I cannot compile the project to create QIF libs anymore. Before that everything was fine!.
When I want to build the files I get this error:

.\QIF_30\xsd-cxx-tree.targets(45,5): error MSB3721: The command "xsd.exe cxx-tree --generate-serialization --generate-polymorphic --generate-default-ctor --generate-intellisense --output-dir .\QIFLibrary --hxx-suffix .hxx --cxx-suffix .cxx --ixx-suffix .ixx --fwd-suffix -fwd.hxx --namespace-map http://qifstandards.org/xsd/qif3=xsd::qif30 --root-element QIFDocument --export-symbol QIF30_SYMBOL_DECL --location-map http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd=..\QIFLibrary\xmldsig-core-schema.xsd --hxx-prologue "#include "..\export.hxx"" ..\QIFLibrary\Auxiliary.xsd" exited with code 1.

has anyone else had the same problem?

@daniel-campbell
Copy link
Collaborator

Can you provide some more info about what bindings you are using, what version of visual studio, etc.?

@Aderiani
Copy link
Author

Aderiani commented Nov 17, 2022

Thanks for the reply.

Sure, I'm using the Codesynthesis binding. And I updated visual studio (2022) from version 17.3 to 17.4.

This error is related to creating the command for codesynthesis (xsd) for generating the cpp files. And my Codesynthesis version is 3.3.0. Everything was working perfectly before the update, I also checked codesynthesis installation and it works fine.

Maybe you can also check if that project can be compiled via the latest visual studio available (17.4)? Thanks.

@yigito1
Copy link

yigito1 commented Jun 20, 2023

I am using Microsoft Visual Studio Community 2019 Version 16.11.27 with Codesynthesis binding. I am getting the same error.
If there is an update, could you please inform?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants