Created On:  25 April 2012

Problem:

When building programs in Visual COBOL 2.0 or Enterprise Developer 2.0 you may see an error due to an invalid value for COBOLDir parameter. The error would look similar to:
 
C:\\Program Files\\MSBuild\\Micro Focus\\Visual COBOL\\v1.0\\MicroFocus.COBOL.targets(253,13): error MSB4030: "C:\\Program Files\\Micro Focus\\Enterprise Developer" is an invalid value for the "COBOLDir" parameter of the "COBOL" task.

The "COBOLDir" parameter is of type "System.Boolean". [C:\\TestClient\\work\\P578421_20120317040115898\\p578421\\Cobol\\Cobol.cblproj]

Resolution:

Cause: Visual COBOL and Enterprise Developer use a new COBOLDIR parameter, and this is conflicting with an Environment Variable of the same name, that you may have set. The conflict occurs because the Environment Variable you set is a string and the Parameter in the Product is Boolean based.

Resolution: Is to unset your COBOLDIR Environment Variable, or Choose a different name for your COBOLDIR Environment Variable before doing an build with these affected products.
Incident #589913