Skip to content

CLI should share build graph information across command invocations #5739

@TheRealPiotrP

Description

@TheRealPiotrP

Steps to reproduce

dotnet new
dotnet restore
dotnet build

Expected behavior

A given Project Context is generated once and shared across requests, potentially spanning multiple process invocations

Actual behavior

Even in this simple scenario project contexts are created rampantly, leading to multiple parsings of project.json and project.lock.json

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions