Is this possible to configure in the SLN file, or just in the SUO?
You can use the Solution Load Manager extension to set default load policy for projects in a solution (demand load, background load, load if needed, and explicit load only), as well as set the load priority for projects in a solution.