Skip to main content

I have built a solution but when I try to run it outside of Visual Studio I get the error.

Windows 11

Visual Studio Community 2022 Build 17.8.5

Visual Cobol 9.0 Personal Edition

Console Application.

I have built a solution but when I try to run it outside of Visual Studio I get the error.

Windows 11

Visual Studio Community 2022 Build 17.8.5

Visual Cobol 9.0 Personal Edition

Console Application.

Found solution put Visual Cobol directory in PATH system variables.


Found solution put Visual Cobol directory in PATH system variables.

If you are building the application as an executable you could also change the Run-time Model option to Dynamic Link on the COBOL Link page of the project properties. This will cause the application to look in the Registry to discover the location of the Visual COBOL product.

If you are running from a command prompt you could open up a Visual COBOL command prompt from the Visual COBOL group on the Start menu instead and then the Visual COBOL environment is setup automatically.