VS 2010 migration issue - XSD.EXE assembly cant process Framework 4.0
In VS 2008 / SDK 6.0, I used the / t option of the XSD utility to automatically generate XSD files from existing assemblies / classes. With VS 2010 and SDK 7.0 this doesn't work anymore because XSD.EXE can't handle new Framework 4.0 assemblies. He stated that he is a Framework 2.0 tool and cannot handle assemblies from newer versions.
Where is my mistake?
+2
a source to share
2 answers
A closer look is the answer to my own question:
There are two XSD tools shipped with VS 2010!
Microsoft SDK / Windows / v7.0A / bin / xsd.exe - XSD tool for old frameworks
Microsoft SDK / Windows / v7.0A / bin / NETFX 4.0 Tools / xsd.exe - XSD tool to build Framework 4.0
The first time I am taking the wrong version :-)
+8
a source to share