First when trying to use XSD.exe to generate the C# class it didn't found the imported schema. Then I added the imported XSD to the command in my bat file (that I use instead of writing in the command line every time).
Now it works! The bat file looks like this
"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\xsd.exe" Object.xsd "./General/General.xsd" /c /l:cs /edb /n:Company.Project.BusinessEntities
pause
Thats all.
No comments:
Post a Comment