Skip to content

Static graph-based restore failed with exit code '1' but did not log an error. #13325

Open
@springy76

Description

@springy76

NuGet Product Used

dotnet.exe

Product Version

.NET 7 & 8

Worked before?

No response

Impact

It bothers me. A fix would be nice

Repro Steps & Context

I have no clue as the error just happens randomly, started weeks ago only inside builds of docker containers using .NET SDK docker containers (ran by local gitlab runners). A retry/restart of the gitlab job (within pipeline) always succeeds on next try.
(What have been the reasons for docker, solving the "runs on my machine" problem?)

But meanwhile it started to happen outside of docker related jobs, too.

Verbose Logs

> dotnet restore "MyApp.csproj"

/usr/share/dotnet/sdk/8.0.202/NuGet.RestoreEx.targets(19,5): error : Static graph-based restore failed with exit code '1' but did not log an error. Please file an issue at https://github.com/NuGet/Home.

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