Skip to content

9.0.103 breaks "dotnet restore" in WSL #47396

Closed
@EranGon

Description

@EranGon

Describe the bug

In WSL, when running "dotnet restore --interactive", no UI pops up, and restoring fails.
The only errors I get are these:
/usr/lib/dotnet/sdk/9.0.103/NuGet.targets(170,5): warning : [CredentialProvider]Warning: Cannot persist Microsoft authentication token cache securely!
/usr/lib/dotnet/sdk/9.0.103/NuGet.targets(170,5): warning : [CredentialProvider]Warning: Using plain-text fallback token cache

To Reproduce

  • Any .NET 8 project
  • WSL with Ubuntu distro version 22.04.5 LTS
  • dotnet version 9.0.103
  • Feed is hosted in Azure DevOps artifacts

Further technical details

dotnet --info
.NET SDK:
Version: 9.0.103
Commit: c4e5fd73fe
Workload version: 9.0.100-manifests.e611c4b6
MSBuild version: 17.12.24+c4e5fd73f

Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /usr/lib/dotnet/sdk/9.0.103/

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.2
Architecture: x64
Commit: c4e5fd73fe

.NET SDKs installed:
8.0.112 [/usr/lib/dotnet/sdk]
9.0.103 [/usr/lib/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.12 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.2 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.12 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.2 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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