Altova MapForce 2024 Enterprise Edition

Building .NET Framework projects

Home Prev Top Next

If your generated C# targets the .NET Framework platform, the easiest way to build the project is as follows:

 

1.Open the generated solution (.sln) file in Visual Studio.

 

By default, the name of the solution file is Mapping.sln, and it is located in the Mapping subdirectory relative to the directory where you saved the generated code. If you changed the application name from the mapping settings, then the name of the .sln file is changed accordingly. For example, if you changed the application name to MyApplication, then the solution file is called MyApplication.sln, and it is located in the MyApplication subdirectory.

 

2.On the Build menu, click Configuration Manager.

3.Select the required build configuration (Debug, Release).

4.On the Build menu, click Build Solution.

 

Running the application

Once you compile the Visual Studio project, a command-line application is produced, called Mapping.exe. Note that if you changed the application name from the Mapping Settings dialog box, then the executable name is changed accordingly.

 

You can find the mapping application in one of the following subdirectories relative to the .sln file, depending on the build option you chose earlier:

 

bin\Debug

bin\Release

 

To run the application, open a command prompt, change the current directory to the path of the executable, and run it, for example:

cg_run_cs_app

© 2017-2023 Altova GmbH