Package Source v2 feed error

Wilson Au-Yeung 21 Reputation points
2022-01-27T07:02:09.657+00:00

I have try to download a package on package manager with https://nuget.org as the source but it output a error as feed back. How can I fix that error?

Severity Code Description Project File Line Suppression State
Error [Package source] The V2 feed at 'https://www.nuget.org/Search()?$filter=IsLatestVersion&searchTerm=''&targetFramework='net47'&includePrerelease=false&$skip=0&$top=26&semVerLevel=2.0.0' returned an unexpected status code '404 Not Found'.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,271 Reputation points Microsoft Vendor
    2022-01-28T07:52:56.607+00:00

    Hi @Wilson Au-Yeung ,

    Welcome to Microsoft Q&A forum.

    Does it work, if you add https://api.nuget.org/v3/index.json as package source(Tools > Options > NuGet Package Manager > Package Sources)?

    169373-image.png

    If the package source was set to https://api.nuget.org/v3/index.json by default, then can other NuGet packages successfully be downloaded?

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful