Home > database >  nuget packages fails to load
nuget packages fails to load

Time:12-25

my NuGet packages are not loading, therefor I'm facing errors right from the beginning. it was fine the other day but now it's not loading and I can't find a solution. it happens with every MAUI project, even with a new MAUI projectenter image description here

CodePudding user response:

Try deleting %AppData%\Roaming\NuGet\NuGet.Config as mentioned here: Nuget connection attempt failed "Unable to load the service index for source"

CodePudding user response:

well I tried using Tls 1.2 but that didn't work for me after some time I went back to the registry editor to

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client

and changed the value of DisabledByDefault from 1 to 0 and restarted visual studio, and it worked. I built my app and all the dependencies load up.

  • Related