Paket icon indicating copy to clipboard operation
Paket copied to clipboard

NuGet 6.3 and HTTPs everywhere

Open akhansari opened this issue 3 years ago • 0 comments

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

akhansari avatar Aug 17 '22 14:08 akhansari