Hi,
Can I ask how you ended up fixing this? I have the same issue where I get canister alias icp_ledger_canister is not defined, whereas dfx build doesn’t complain, so it appears to be an issue with the VSCode extension.
1 Like