IBM Support

Unable to build the C# examples with WTX 8.4.1.x

Troubleshooting


Problem

Unable to complete the build/compile of the C# examples from IBM WebSphere Transformation Extender (WTX) in the 'examples\dk\dtxpi\csharp' sub-directory as the process/gui displays error messages about 'MConstants'.

Symptom

Using the command line csc.exe compiler from .NET, errors are shown:

MConstants.cs(325,65): error CS0103: The name 'MPI_PROPBASE' does not exist in the current context

Using a GUI such as Visual Studio 2013, errors in the project are shown:

Error 1 The name 'MPI_PROPBASE' does not exist in the current context C:\Users\Administrator\Documents\Visual Studio 2013\Projects\Project1\Project1\MConstants.cs 325 65 Project1

Cause

This has been identified as a product defect under APAR PI79338

Environment

IBM WebSphere Transformation Extender (WTX) SDK/API on the Windows platform

Diagnosing The Problem

Following the documented steps for compiling the C# examples leads to the 'The name 'MPI_PROPBASE' does not exist in the current context' message.

Resolving The Problem

Obtain and apply the fix for APAR PI79338

[{"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"SDK","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.4.1;8.4.1.0;8.4.1.1;8.4.1.2;8.4.1.3;8.4.1.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg22001581