You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NETSDKE2E] [Regression] Unable to search NuGet package in VS Code. #49765
Install .NET SDK 10.0.100-preview.7.25363.101 and install VS Code with C# and C# devkit extension.
Create a project like console -> F1-> NuGet: Add NuGet Package -> search NuGet package like "easpost.netstandard" -> enter
Observe
Exceptions (if any)
Unable to find the relevant package.
Dotnet info
.NET SDK:
Version: 10.0.100-preview.7.25363.101
Commit: 0b032b9f94
Workload version: 10.0.100-manifests.44300ff6
MSBuild version: 17.15.0-preview-25363-101+0b032b9f9
Runtime Environment:
OS Name: debian
OS Version: 12
OS Platform: Linux
RID: linux-x64
Base Path: /home/nicole/dotnet/sdk/10.0.100-preview.7.25363.101/
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
Workloads are configured to install and update using workload versions, but none were found. Run "dotnet workload restore" to install a workload version.
Host:
Version: 10.0.0-preview.7.25363.101
Architecture: x64
Commit: 0b032b9f94
.NET SDKs installed:
10.0.100-preview.7.25363.101 [/home/nicole/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-preview.7.25363.101 [/home/nicole/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-preview.7.25363.101 [/home/nicole/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/home/nicole/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
changed the title [-][NETSDKE2E] Unable to search NuGet package in VS Code.[/-][+][NETSDKE2E] [Regression] Unable to search NuGet package in VS Code.[/+]on Jul 14, 2025
I've noticed it outside VSCode too. The minimalistic reproducing using the latest Ubuntu via docker:
docker.exe run -t -i --rm ubuntu
apt-get update && apt-get install wget tar -y \
&& mkdir dotnet \
&& export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 \
&& wget https://aka.ms/dotnet/10.0.1xx/daily/dotnet-sdk-linux-x64.tar.gz \
&& tar -C dotnet -xvzf dotnet-sdk-linux-x64.tar.gz \
&& cd dotnet \
&& ./dotnet --info \
&& ./dotnet nuget list
.NET SDK:
Version: 10.0.100-preview.7.25363.103
Commit: 924987cbe3
Workload version: 10.0.100-manifests.6b0861b3
MSBuild version: 17.15.0-preview-25363-103+924987cbe
Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: linux-x64
Base Path: /dotnet/sdk/10.0.100-preview.7.25363.103/
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
Workloads are configured to install and update using workload versions, but none were found. Run "dotnet workload restore" to install a workload version.
Host:
Version: 10.0.0-preview.7.25363.103
Architecture: x64
Commit: 924987cbe3
.NET SDKs installed:
10.0.100-preview.7.25363.103 [/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-preview.7.25363.103 [/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-preview.7.25363.103 [/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
Welcome to .NET 10.0!
---------------------
SDK Version: 10.0.100-preview.7.25363.103
<....>
--------------------------------------------------------------------------------------
Unhandled exception. System.TypeLoadException: Could not load type 'System.CommandLine.CommandLineConfiguration' from assembly 'System.CommandLine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
at NuGet.CommandLine.XPlat.Program.MainInternal(String[] args, CommandOutputLogger log, IEnvironmentVariableReader environmentVariableReader)
at NuGet.CommandLine.XPlat.Program.Main(String[] args)
root@f7768d05f820:/dotnet#
Activity
[-][NETSDKE2E] Unable to search NuGet package in VS Code.[/-][+][NETSDKE2E] [Regression] Unable to search NuGet package in VS Code.[/+]marcin-krystianc commentedon Jul 14, 2025
I've noticed it outside VSCode too. The minimalistic reproducing using the latest Ubuntu via docker: