odatacpp-client
odatacpp-client copied to clipboard
Generation of proxy classes fails if they are prefixed with a namespace alias in metadata file.
Using the attached metadata file from a Microsoft Dynamics CRM instance where the namespace alias is mscrm
. If a class is appended with this alias it will not be populated into the schemainfo m_class_vec container which will ultimately trigger an Access Violation exception when attempting to generate the proxy code.
To reproduce the error and get the actual exception location run the code gen tool from VS with the attached metadata file.
Aliases are not supported by the master. I have however implemented Aliases in my fork, maybe you want to try that? You can clone it from here: https://github.com/PBRCW/odatacpp-client