Directories and runtime module question
Win10 64bit, Visual Studio Pro 2019, Visual Cobol 5.0
i see that the Compiler create /bin and /obj directories, than subdirectory /x86 and under this /release and /debug
Why double directories in /bin and /obj?
is it possible as in Netexpress 5.x to create automatically an Output Directory with all modules (included mf-runtime modules)?
Thanks for help
Re: Directories and runtime module question
The default in Visual Studio is to create the output folders under the project\bin folder and would either have a subdirectory called x86 for a 32-bit build or x64 for a 64-bit build. It will switch between the 2 folders Debug and Release depending on the current build configuration in use.
The project\obj folder is where the actual object files are generated and linked into executables. The build process copies them from the \obj folder to whichever output folder is relevant for the current build.
You can choose your own output folder using the Output Path field on the COBOL tab of the project properties page.
The run-time system files will not automatically be copied to the output folder. You could have them copied in as part of a post build process. See the Build Events button on the COBOL tab of the project properties page. If you are planning to use these run-time files in a deployment to another machine, you will have to install COBOL Server and extract the appropriate files from there. The licensing between the run-time files in Development and the run-time files in production is different and requires a production license.