Why does --project-root not pick up the SDK version of the project?

Indeed --project-root is problematic because it can’t pick the correct SDK version. Using the DAML_PROJECT environment variable is the correct way to set the project path when using the daml assistant:

DAML_PROJECT="path-to-my-project" daml build
1 Like