These are the basic steps for creating COBOL applications in Visual Studio:
- Create a COBOL project:
- Click
File > New > Project.
- Expand
COBOL in the
Installed Templates pane.
- Click a category in the
Installed Templates - for example,
Native,
Managed, or
Web.
- Click one of the available project templates.
- Specify a name, location, and solution name, and click
OK.
- Either create new files for your project, or import existing ones:
- Right-click the project in Solution Explorer and click
Add > New Item or
Add > Existing Item.
You can choose
Add Existing COBOL Items if you'd like to IDE to scan your COBOL source files and determine and set Compiler directives on them.
- Configure the project's settings:
- Click
Project >
MyProject Properties.
- Click the tab on the left-hand side to set build and debug Compiler directives and specify the output file type and location.
- Optionally, configure any file settings - right-click a file in Solution Explorer and click
Properties.
- Build your project or the entire solution - click
Build > Solution or
Build > Build
MyProject.
- Debug the project - click
Debug > Start Debugging.