Skip to content

Project References that are not listed in assets file aren't included in deps.json #28891

@wrall

Description

@wrall

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions