Today I had to make an update in an old application that was still based on .NET 4.8. When trying to build the application I got the following warning message:
NU1803 – NuGet requires HTTPS sources.
When going to the NuGet Package Manager in Visual Studio I got a similar warning:
The clean solution is switch to an HTTPS based URL.
For this application I just removed the old HTTP based package source from my nuget.config file as it was no longer used.
If you are absolutely certain you can trust the HTTP source, you can opt out of this warning by setting allowInsecureConnections
to true
for this package source: