With .net core (project.json) I used to switch between nuget packages and source code by adding the path to source code to the projects field in the global.json
For others that are interested in attempting to emulate with Global.json did, I worked around this for now using a couple powershell scripts and a custom json file that mimics it. Check out my answer here:
https://stackoverflow.com/a/43795974/5504245