Hi,@Rajesh Erukulla,you may try input https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.tools/8.0.2/microsoft.entityframeworkcore.tools.8.0.2.nupkg'.
in browser and check if you could access it ,if not,try download the package here,and install the package from local
.Net 8.0 Unable to install EntityFrameworkCore.Tools 8.0.2 from Nuget package manager
I have installed Visual Studio 2022 community edition, created a .Net Core Web API project and installed below 2 packages from Nuget package manager successfully.
EntityFrameworkCore.SqlServer 8.0.2
EntityFrameworkCore 8.0.2
But, when I try to install EntityFrameworkCore.Tools 8.0.2, it throws an error as below
Failed to download package 'Microsoft.EntityFrameworkCore.Tools.8.0.2' from 'https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.tools/8.0.2/microsoft.entityframeworkcore.tools.8.0.2.nupkg'.
Response status code does not indicate success: 403 (Forbidden).
I made sure that I am running VS in admin mode and the project properties shows the framework as .Net 8.0. Please suggest what is wrong here and how can I sort this out.
Thanks
1 answer
Sort by: Most helpful
-
Ruikai Feng - MSFT 2,576 Reputation points Microsoft Vendor
2024-03-05T06:44:49.6066667+00:00