Index: DamEngine/trunk/doc/Dam Engine - Technical Design/DAM Engine - Technical Design.tex =================================================================== diff -u -r2053 -r2170 --- DamEngine/trunk/doc/Dam Engine - Technical Design/DAM Engine - Technical Design.tex (.../DAM Engine - Technical Design.tex) (revision 2053) +++ DamEngine/trunk/doc/Dam Engine - Technical Design/DAM Engine - Technical Design.tex (.../DAM Engine - Technical Design.tex) (revision 2170) @@ -774,11 +774,16 @@ For the XML serialization a Visual Studio Tool is used. This tool XSD.exe creates objects based on XML schema definitions (*.xsd). To use this tool the following steps should be taken: \begin{itemize} \item Start the Developer Command Prompt (for VS2015) and go to the folder containing the XSD's. - \item Create the classes by running the batchfile "GenerateClasses.bat". This generates 2 source files containing the generated objects (DamInput.cs and DamOutput.cs) + \item Create the classes by running the batchfile "GenerateClasses.bat". This generates 2 source files containing the generated objects (DamInput.cs and DamOutput.cs). + \item The 2 source files are then copied to the correct locations in the source tree, so they can be compiled. \end{itemize} -The batchfile contains the 2 following commands: \newline +The batchfile contains the following lines: \newline +\texttt{REM Start the Developer Command Prompt (for VS2015) and go to this directory. Then start this batchfile.}\newline \texttt{xsd /c /l:cs /n:Deltares.DamEngine.Io.XmlInput DamInput.xsd}\newline -\texttt{xsd /c /l:cs /n:Deltares.DamEngine.Io.XmlOutput DamOutput.xsd}\newline\newline +\texttt{copy DamInput.cs ..\textbackslash src\textbackslash Deltares.DamEngine.Io\textbackslash DamInput.cs}\newline +\texttt{xsd /c /l:cs /n:Deltares.DamEngine.Io.XmlOutput DamOutput.xsd}\newline +\texttt{copy DamOutput.cs ..\textbackslash src\textbackslash Deltares.DamEngine.Io\textbackslash DamOutput.cs}\newline +\newline The classes in the generated source files can be serialized into XML strings using the .NET library class XmlSerializer, which is part of the System.Xml.Serialization assembly. \newline The following classes are used for transferring the Dam Engine data model into the serializer objects and back: \begin{itemize} Index: DamEngine/trunk/doc/Dam Engine - Technical Design/DAM Engine - Technical Design.pdf =================================================================== diff -u -r2053 -r2170 Binary files differ