When referencing individual DLLs from Unity modules, there is a risk that precompiled code gets broken when types are moved from a module to another.
Referencing "monolithic" Unity DLLs which contain all the types allows you to be protected from that kind of issue. These DLLs are located in the Unity installation folder (Managed/UnityEngine.dll and Managed/UnityEditor.dll).