Skip to main content

I've got about sixty programs in my solution / project.  (The entire solution is one project)

I decided that about ten programs were obsolete, no longer needed, so I deleted the source code (*.cbl).

But now when I try to build/rebuild either the solution or project, I get errors like these:

1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\TEST.cbl'
1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\X-BB-BENCH.cbl'
1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\X-FE-BENCH.cbl'
1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\X-FN-BENCH.cbl'
1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\X-MC-BENCH.cbl'

What can I do to make the solution / project completely forget about these programs?


#COBOL
#VisualStudio

I've got about sixty programs in my solution / project.  (The entire solution is one project)

I decided that about ten programs were obsolete, no longer needed, so I deleted the source code (*.cbl).

But now when I try to build/rebuild either the solution or project, I get errors like these:

1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\TEST.cbl'
1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\X-BB-BENCH.cbl'
1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\X-FE-BENCH.cbl'
1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\X-FN-BENCH.cbl'
1>COBOL : error COBCH1502: Open fail : 'C:\\PSMJ\\X-MC-BENCH.cbl'

What can I do to make the solution / project completely forget about these programs?


#COBOL
#VisualStudio
You need to delete these from the actual project, not just from disk. In the Solution Explorer window use your mouse to select the program you wish to delete, (hold down Ctrl key to select more than one) and then press the Delete key or right click the mouse and select Delete from the menu. If you wish to remove programs from the project without physically deleting them from the disk then select the Exclude from Project option instead of Delete.

Thanks.