Paket
Paket copied to clipboard
NuGet 6.3 and HTTPs everywhere
Description
Since NuGet 6.3 (SDK 6.0.400), Paket fails to restore when the source is not HTTPs.
https://devblogs.microsoft.com/nuget/https-everywhere/
https://github.com/NuGet/NuGet.Client/blob/6.3.0.131/src/NuGet.Core/NuGet.Commands/RestoreCommand/RestoreCommand.cs#L221
Repro steps
paket install
Expected behavior
The restore should work with warnings.
Actual behavior
The restore fails with this message: Paket failed with -> dotnet restore "xyz.sln" failed
Known workarounds
Downgrade the SDK version:
dotnet new globaljson --sdk-version 6.0.303