Skip to content

dotnet test dirties packages.lock.json with RID-specific restore graph #2918

Description

@Widthdom

Running dotnet test -p:UseSharedCompilation=false on macOS added a net8.0/osx-arm64 section to src/CodeIndex/packages.lock.json. That dirty state also makes dotnet restore CodeIndex.sln --locked-mode fail until the lock file is restored. This came up while validating the report-bundle fixes; the PR will not change this behavior because it is outside the requested issue scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions