I have created a stack project (with the name TMS) and seems to build. The resolver is "lts-18.25". I have also created manually a cabal.project file in the TMS directory. This file only contains the line "packages: TMS" (without quotes). Now I want to ensure that the package TMS builds with both stack and cabal. In the TMS directory, when I run the command "cabal v2-build", I get the following error:
PS C:\Users\ephra\OneDrive\Dokument\haskell\mena-projects\TMS> cabal v2-build
When using configuration(s) from C:\Users\ephra\OneDrive\Dokument\haskell\mena-projects\TMS\cabal.project, the following errors occurred:
The package location 'TMS' does not exist.
PS C:\Users\ephra\OneDrive\Dokument\haskell\mena-projects\TMS>