Package names could not be resolved: * MyPkg (91bcb2...e67b in manifest but not in project)

Hmmm, I can be wrong there, but you often do not add and dev the same package, you just do one of them. If you want to have your package as a dependency inside your project, and keep editing the package, activate the environment for your project and dev your package there (using the path, as you did with add), but do not add it.