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
Asked
Active
Viewed 68 times
0

Mobin beiran
- 49
- 6
-
Have you tried this: https://stackoverflow.com/questions/41185443/nuget-connection-attempt-failed-unable-to-load-the-service-index-for-source ? – YungDeiza Dec 06 '22 at 13:30
-
2please do NOT post code or errors as images – Jason Dec 06 '22 at 13:38
2 Answers
0
Try deleting %AppData%\Roaming\NuGet\NuGet.Config as mentioned here: Nuget connection attempt failed "Unable to load the service index for source"

LukaS
- 1
0
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.

Mobin beiran
- 49
- 6