0

I am using visual studio 2022 IDE and Despite several attempts I was not able to install the package Microsoft.EntityFramworkCore.Sqlserver.here are my settingsPackage Sources General

and here is the error message I get:

The feed 'Nuget [https://api.nuget.org/v3/index.json]' lists package 'Microsoft.Data.SqlClient.SNI.runtime.4.0.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again. Unable to find package 'Microsoft.Data.SqlClient.SNI.runtime.4.0.0'.

The optionsBuilder.UseSqlServer() method does not work in my application because the mentioned package is not available

DavidG
  • 113,891
  • 12
  • 217
  • 223
Sebghat
  • 5
  • 3

2 Answers2

0

Try to install an older version. Try with 5.0.8

marco
  • 121
  • 1
  • 10
0

You can download the package from nuget.org and install it manually. check out the link Link