REM Start the Developer Command Prompt (for VS2015) and go to this directory. Then start this batchfile. xsd /c /l:cs /n:Deltares.LayerOnSlopeTool.Io.XmlInput DamMStabDoc.xsd copy DamMStabDoc.cs ..\src\Deltares.LayerOnSlopeTool.Io\DamMStabDoc.cs