Build/Visual Studio

How to build suite3270 (b3270, pr3287, s3270, wc3270 and x3270if) with Microsoft Visual Studio.

Visual Studio GUI
The Visual Studio solution is called suite3270.sln in the VisualStudio folder. There are individual projects for each of the programs and components.

Visual Studio command line
Open a Visual Studio command prompt. Switch to the VisualStudio directory in the suite3270 source tree, and type: msbuild

The usual msbuild options are available, such as,   (which can specify Debug or Release) and   (which can specify x86 or x64).

Tests
New in 4.2

A subset of the tests can be run as well. They depend on a build of the Debug targets. From the top of the suite3270 source tree, type: .\RunTests.ps1

Tests require the installation of Python 3, plus the requests and psutil packages.

Version history
Tests were added to x3270 4.2 in 2022.