Home > OS >  Entity Framework Core doesn't load on the package
Entity Framework Core doesn't load on the package

Time:07-26

I have a project on Gitlab which works fine. I have to reinstall the windows and visual studio 2022 and clone it again. but after clonning , none of packages loads find and I get error

enter image description here

the project works fine, everybody on team is working with it. I have installed dotnet runtime 5 and 6 and also sdk 5 and 6

the project has been created by .Netcore 5 I can not uninstall or install a package also what could be the problem

CodePudding user response:

According to your description, the error message is like: Failed to download package xxxxxx from "source link" the http request to "Get source link" has timed out after 100000ms.

I think the timeout issue is more related to the network. You could try using a VPN or setting up your own NuGet repository locally should be a good suggestion.

Steps to set local source:

  1. Create a local folder, such as, "D:\LocalServer"
  2. Add this path to the package source, under Tools->Options->NuGet Package Manager->Package Sources enter image description here
  3. Download the packages you need from nuget.org to this folder, then you can install the packages to your project from loacl source.
  • Related