NuGet packages has Offline Only

Rod Falanga 591 Reputation points
2021-08-28T15:18:06.857+00:00

I'm setting up a new PC to do development on. Got VS 2019 Community Edition. I went to install Entity Framework Core, but couldn't. It cannot be found. All that I could find was "Microsoft Visual Studio Offline Packages". I searched on that term and came across this article on the archived MSDN forum on this topic. I tried adding NuGet, following the example on the link I have, using https://api.nuget.org/v3/index.json for the URL. It doesn't work. All I'm getting is errors like this:

[NuGet] The V2 feed at 'https://www.nuget.org/Search()?$filter=IsLatestVersion&searchTerm=''&targetFramework='net5.0'&includePrerelease=false&$skip=0&$top=26&semVerLevel=2.0.0' returned an unexpected status code '404 Not Found'.

How do I resolve this issue?

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} votes

Accepted answer
  1. PengGe-MSFT 3,381 Reputation points
    2021-08-30T08:22:35.987+00:00

    Hi @Rod Falanga

    Welcome to Microsoft Q&A!

    Does the Entity Framework Core you mentioned refer to this Nuget package? I can install it in Visual Studio, can you provide more information?

    • Update:
      What package source did you choose? Did you choose nuget.org?
      Please make sure you have selected the correct package source, you can upload a screenshot of the nuget solution manager.
      127772-image.png
    • Update:

    If your Visual Studio package source does not have nuget.org, you can try to add it to the package source.
    Name:
    nuget.org
    Source:
    https://api.nuget.org/v3/index.json
    128212-image.png

    Sincerely,
    Peng
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    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

    8 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Emmanuel Motsi 26 Reputation points
    2022-10-01T20:59:24+00:00

    This was helpful, thank you very much'

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.