Altova MapForce 2024 Enterprise Edition

Code Generator Options

Home Prev Top Next

To view or change the MapForce settings applicable to code generation:

 

On the Tools menu, click Options, and then click Generation.

cg_options_mapforce

 

The available settings are as follows.

 

C++ Settings

Defines the specific compiler settings for the C++ environment, namely:

 

The Visual Studio version (2013, 2015, 2017, 2019, 2022)

The XML library (MSXML, Xerces 3.x)

Whether static or dynamic libraries must be generated

Whether code must be generated with or without MFC support

 

C# Settings

Select the option Microsoft .NET Core 3.1, Microsoft .NET 5.0, or Microsoft .NET 6.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.

Wrapper Classes

Allows you to generate wrapper classes for XML schemas, see Generating Code from XML Schemas or DTDs. These wrapper classes can be used by custom code that includes the code generated by MapForce.

Server Execution File

These options are applicable when you compile mappings to MapForce Server execution files. They do not affect generation of C#, C++, or Java code. For more information, see Compiling Mappings to MapForce Server Execution Files.

© 2017-2023 Altova GmbH