Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
KevinK Absent Member.
Absent Member.
324 views

Solution Level Compiler Directives

Where do I specify my solution level compiler directives in Visual Studio

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Solution Level Compiler Directives

It is not possible to set COBOL compiler directives from the solution level since a solution cannot be specific to COBOL projects only. It may contain other different projects, such as #C, VB.NET, etc.

You may however create the system-wide directive file COBOL.DIR, save the directives in this file, and place the file to %COBDIR%\etc (e.g. C:\Program Files (x86)\Micro Focus\Visual COBOL\etc). This will cause all COBOL projects to be compiled with this directive file. If you do not wish to make this directive file system-wide, you will then need to place the directive file in each project folder (i.e. the folder where the .cblproj resides).

–Ғɑɳօ
0 Likes
KevinK Absent Member.
Absent Member.

RE: Solution Level Compiler Directives

Thank You Fano!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.