What happened?
See screenshot, VSCode is compling about missing multi-package.yaml file when one tries to use devkit as a dpm component:
Steps to reproduce
The change is based on the following example project: test_1_no_components_working.zip
If you replace the daml.yaml with:
name: dapp
source: daml
version: 0.0.1
dependencies:
- daml-prim
- daml-stdlib
- daml-script
build-options:
- -Wno-template-interface-depends-on-daml-script
components:
- canton-open-source:3.5.2
- codegen:3.5.2
- damlc:3.5.2
- daml-new:3.5.2
- daml-script:3.5.2
- upgrade-check:3.5.2
- scribe:3.5.2
- oci://ghcr.io/bitdynamics-ab/canton-devkit:latest@sha256:8c718e86b8f188c3de2b9e1cc21f3a1b8dfe139ccf7e6d8c30093d313a0874ce
You will get the error. It can be fixed if we add a multi-package.yaml file at the root of the project and re-open the folder:
It's likely related to this issue: digital-asset/daml#22795
canton-devkit version
sha256:8c718e86b8f188c3de2b9e1cc21f3a1b8dfe139ccf7e6d8c30093d313a0874ce
Environment (optional)
No response
Command output / logs (optional)
What happened?
See screenshot, VSCode is compling about missing multi-package.yaml file when one tries to use devkit as a dpm component:
Steps to reproduce
The change is based on the following example project: test_1_no_components_working.zip
If you replace the
daml.yamlwith:You will get the error. It can be fixed if we add a
multi-package.yamlfile at the root of the project and re-open the folder:It's likely related to this issue: digital-asset/daml#22795
canton-devkit version
sha256:8c718e86b8f188c3de2b9e1cc21f3a1b8dfe139ccf7e6d8c30093d313a0874ce
Environment (optional)
No response
Command output / logs (optional)