visual studio – Nuget isn’t returning all versions


I’m trying to install the Nuget Package:

dotnet add package Python.Runtime --version 3.0.4

In VS2026 for one of my projects, and it fails stating that the nearest version available is 2.7.9.

If I go to a browser window and enter: https://api.nuget.org/v3-flatcontainer/python.runtime/index.json
Sure enough it only shows 2.7.9 even though there are later versions of this package available.

This suggests that I’m not really getting out to Nuget for some reason even though from developer powershell command if I do:

dotnet nuget list source

Registered Sources:
  1.  nuget.org [Enabled]
      https://api.nuget.org/v3/index.json
  2.  Microsoft Visual Studio Offline Packages [Enabled]
      C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

Any sugestions on how to get out to the Nuget Server would be appreciated.

Leave a Reply

Your email address will not be published. Required fields are marked *