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 project
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.