I am trying to use svcutil to generate managed C++ code from XSD. The command line I am using is
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\xsd.exe" MyTest.xsd /classes /language:"Microsoft.VisualC.CppCodeProvider7, CppCodeProvider, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /namespace:MyTestApp
However, I get error message as follows
Error: Value 'microsoft.visualc.cppcodeprovider7, cppcodeprovider, version=10.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a' for switch /language is invalid. There is no codedom provider defined for the language.
I know that I have CppCodeProvider installed as part of Visual Studio install. I have also tried /language:cpp to no avail. I was able to generate code in C# without any issue for the same XSD.
Does anyone know what I am doing wrong?