The Micro Focus COBOL extension provides auto-generated build tasks for any .cblproj or .sln files. The projects can be for native COBOL or for .NET COBOL code.
The project and solution must be created with either Visual COBOL or Enterprise Developer for Visual Studio. The .cblproj file, and the .sln solution file must be stored in the same folder that you open in Visual Studio Code or any subfolder beneath it.
To compile the sources:
This shows the Task Picker with the supplied build tasks - one for building the project file, and one for building the solution.
You can optionally configure which task should be the default one from this widget.
The build output is displayed in the Terminal window. Any errors are underlined with red squiggly lines in the editor.