I have installed the Ocaml compiler, dune and opam and followed this set up.
I get the problem notification on VSCode
No config found for file "FILENAME.ml" in ".". Try calling `dune build`.
After following the advice and running dune build in the terminal I get the following error message:
Error: I cannot find the root of the current workspace/project. If you would like to create a new dune project, you can type: dune init project NAME Otherwise, please make sure to run dune inside an existing project or workspace.
However I ‘ve already set up a new project pefore as instructed in the quickstart with
dune init proj project_name
What am I doing wrong to set up a proper OCaml project with the file and project manager?
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.