Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9.0.103 breaks "dotnet restore" in WSL #47396

Closed
EranGon opened this issue Mar 9, 2025 · 2 comments
Closed

9.0.103 breaks "dotnet restore" in WSL #47396

EranGon opened this issue Mar 9, 2025 · 2 comments
Labels
Area-NuGet untriaged Request triage from a team member

Comments

@EranGon
Copy link

EranGon commented Mar 9, 2025

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

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-WebSDK untriaged Request triage from a team member labels Mar 9, 2025
@baronfel
Copy link
Member

baronfel commented Mar 9, 2025

This is related to NuGet credential providers, but the bot is going to close this and ask you to reopen at NuGet/Home.

cc @dotnet/nuget-team - one thing we need out of the credential provider system is that every warning/error message (of any kind) have a Code - without it users cannot manage/workaround the severity of the reported messages.

Copy link
Contributor

Thanks for creating this issue! We believe this issue is related to NuGet tooling, which is maintained by the NuGet team. Thus, we closed this one and encourage you to raise this issue in the NuGet repository instead. Don’t forget to check out NuGet’s contributing guide before submitting an issue!

If you believe this issue was closed out of error, please comment to let us know.

Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NuGet untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

2 participants