Not yet. Would it mean that it regenerates the canister ids? Or the wallet address? How could I connect the project back to the existing canisters on the main net?
AFAIK the canister IDs are kept in “canister_ids.json”, although I haven’t tested removing the .dfx folder after pushing to production, so maybe do it first with the “debug” version
Do you know what is stored in the .dfx folder? So when I delete it and rebuild, what is it that gets regenerated? I assume some private keys could be among them hence your suggestion to delete and rebuild.
Not sure what exactly causes this behavior, but I’ve had some weird errors in the past when moving the entire project folder, that would solve itself when moving just the code. So I assumed it has something to do with the .dfx folder, and moved on