-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Squirrel version(s)
2.0.1
Description
Unable to install the Squirrel nuget package. Happens in .NET 9.0 and .NET 8.0, in a Windows Forms app, and a Console app.
Happens both from the Manage Nuget Packages GUI and from the terminal. Even happens when trying to visit the links in a browser.
Steps to recreate
- Create new Windows Forms app in .NET 9.0
- Install Squirrel.Windows nuget package (Visual Studio 2022)
Expected behavior
Squirrel installed correctly.
Actual behavior
The following error:
Restoring packages for C:\MY_PATH\WinFormsApp1\WinFormsApp1.csproj...
GET https://api.nuget.org/v3-flatcontainer/squirrel.windows/index.json
OK https://api.nuget.org/v3-flatcontainer/squirrel.windows/index.json 60ms
GET https://api.nuget.org/v3-flatcontainer/squirrel.windows/2.0.1/squirrel.windows.2.0.1.nupkg
OK https://api.nuget.org/v3-flatcontainer/squirrel.windows/2.0.1/squirrel.windows.2.0.1.nupkg 1ms
GET https://api.nuget.org/v3-flatcontainer/squirrel.windows/2.0.1/squirrel.windows.2.0.1.nupkg
OK https://api.nuget.org/v3-flatcontainer/squirrel.windows/2.0.1/squirrel.windows.2.0.1.nupkg 47ms
...
...
...
GET https://api.nuget.org/v3-flatcontainer/squirrel.windows/2.0.1/squirrel.windows.2.0.1.nupkg
OK https://api.nuget.org/v3-flatcontainer/squirrel.windows/2.0.1/squirrel.windows.2.0.1.nupkg 48ms
GET https://api.nuget.org/v3-flatcontainer/squirrel.windows/index.json
OK https://api.nuget.org/v3-flatcontainer/squirrel.windows/index.json 64ms
CACHE https://api.nuget.org/v3-flatcontainer/squirrel.windows/index.json
CACHE https://api.nuget.org/v3-flatcontainer/squirrel.windows/index.json
Failed to download package 'squirrel.windows.2.0.1' from 'https://api.nuget.org/v3-flatcontainer/squirrel.windows/2.0.1/squirrel.windows.2.0.1.nupkg'.
The nupkg at 'https://api.nuget.org/v3-flatcontainer/squirrel.windows/2.0.1/squirrel.windows.2.0.1.nupkg' is not valid.
End of Central Directory record could not be found.
The feed 'nuget.org [https://api.nuget.org/v3/index.json]' lists package 'squirrel.windows.2.0.1' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
Package restore failed. Rolling back package changes for 'WinFormsApp1'.