Skip to content

[file-based apps] dotnet restore fails when -consoleLoggerParameters is passed #53695

@tmat

Description

@tmat

Repro:

Create single-file app App.cs and run dotnet restore like so:

PS D:\temp\fba> dotnet restore D:\temp\fba\App.cs -consoleLoggerParameters:NoSummary
    D:\temp\fba\App.cs(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-run-fileItems related to the "dotnet run <file>" effortuntriagedRequest triage from a team member

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions