Please enable JavaScript to view this site.

Altova XMLSpy 2022 Enterprise Edition

» No topics above this level «

Selecting the target platform

Scroll Home Prev Top Next More

Before generating C# code, you can set the target platform at program level, as follows:

 

1.On the Tools menu, click Options.

2.Click the Generation tab.

3.In the "C# settings" group, select a value from the drop-down list, as applicable.

cg-netcore-settings

Select the option Microsoft .NET Core 3.1 or Microsoft .NET 5.0 to generate a Visual Studio solution targeting the respective platforms. If you need to target the .NET Framework platform for a specific Visual Studio version, select any of the Microsoft Visual Studio 2010-2019 options—in this case, the generated solution will target the .NET Framework version corresponding to the respective Visual Studio version.

 

The Generate Wrapper Classes check box, if selected, creates additional projects in the generated code, one for each XML schema or DTD component present on the mapping. The generated wrapper projects enable you to manipulate programmatically the respective XML instances outside of the mapping. The wrapper libraries are optional and independent of the mapping program, although you can use them from the mapping program if necessary. For more information about wrapper classes, see Generating Code from XML Schemas or DTDs.

© 2015-2021 Altova GmbH