I am using Visual Studio Code (VS Code) Editor for ASP.NET Core-5 Web API.
I have installed different packages in the VS Code without any error.
However, when I did:
dotnet run
I got this errors:
C:\Users\Kume\source\repos\MyApp\DDM.API.Core\API.Core.csproj : error NU1101: Unable to find package Microsoft.EntityFrameworkCore. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages
C:\Users\Kume\source\repos\MyApp\DDM.API.Core\API.Core.csproj : error NU1101: Unable to find package Microsoft.EntityFrameworkCore.Design. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages
C:\Users\Kume\source\repos\MyApp\DDM.API.Core\API.Core.csproj : error NU1101: Unable to find package Microsoft.EntityFrameworkCore.SqlServer. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages
C:\Users\Kume\source\repos\MyApp\DDM.API.Core\API.Core.csproj : error NU1101: Unable to find package Microsoft.EntityFrameworkCore.Tools. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages
How do I resolve this?