Describe the bug
When there is a reference to a project that is not included in the project.assets.json file for some reason (e.g. it has opted out of nuget restore), it does not get included into deps.json.
To Reproduce
<ProjectReference Include="ProjectA.csproj" />, and opt ProjectA out of using NuGet (e.g. force _IsProjectRestoreSupported target to return nothing).
Exceptions (if any)
None.
Further technical details
Happens on all versions.