How to share common code between projects?

I can’t get this to work! Adding such a symlink line for my library in the lib_deps section results in a MissingPackageManifestError. Do I need to also create a ‘library.json’ file in the library folders as well?! (tried that too: didn’t work.) This all seems way too complicated for such a simple and common task. The deprecated lib_extra_dirs does still work, so I’m good until that gets pulled. Why a simple and effective solution is being killed is interesting. BTW, simply removing the symlink line doesn’t get rid of the error it caused. You have to hunt down and delete the .pio-link file it created to get back to sanity. (That experience alone cost me a couple of hours!!)