Could not find DFX bindings for canister named 'nns-cycles-minting'. Did you build using DFX?

I use

#[import(canister = "nns-cycles-minting")]
struct CMC {}

However i got:

Could not find DFX bindings for canister named 'nns-cycles-minting'. Did you build using DFX?

I have

"nns-cycles-minting": {
      "build": "",
      "candid": "candid/nns-cycles-minting.did",
      "remote": {
        "id": {
          "ic": "rkp4c-7iaaa-aaaaa-aaaca-cai",
          "local": "rkp4c-7iaaa-aaaaa-aaaca-cai"
        }
      },
      "type": "custom",
      "wasm": ""
    },

in my dfx.json file.

hello,Is the problem solved now?