I have a few scripts in my /Assets/Scripts folder split up into their own separate folders. Do I need a single .asmdef in each and every folder (that then references Scripts.asmdef)?
Or is it the other way around?:
/Assets/Main.asmdef (references both Scripts.asmdef and Plugins.asmdef)
/Assets/Scripts/Scripts.asmdef
/Assets/Plugins/Plugins.asmdef
After playing around a bit, i can say that you can think of them as just a way to define different project files in your game-solution (vs/monodevelop) with the referencing definitions inserted as project references. You can’t have cyclic references and the main project/definition should depend on its referenced ones.
I currently have a project set up with those and i only placed definitions in some plugin folders, so these get compiled into different dlls. And as they don’t have dependencies on my code it works without manually assigning references. From what the entry post describes, it should be the same for you.