fullstackproltd / AspNetCoreSpa

Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
https://aspnetcorespa.fullstackpro.co.uk
MIT License
1.47k stars 464 forks source link

Error restoring aspnetcore-authentication nuget package #162

Closed AlejandroFlorin closed 6 years ago

AlejandroFlorin commented 6 years ago

Get the following error:

Install-Package : Unable to load the service index for source https://www.myget.org/F/aspnetcore-authentication/api/v3/index.json. Response status code does not indicate success: 404 (Feed does not exist.). At line:1 char:1

This looks like its a dependency to that package from another specific to AspNetCoreSpa because I can restore .net core in its entirety (including that package) in a brand new empty studio project.

Edit: Going one at a time, it looks like the following packages are causing the problem:

    <PackageReference Include="AspNet.Security.OAuth.Amazon" Version="2.0.0-*" />
    <PackageReference Include="AspNet.Security.OAuth.StackExchange" Version="2.0.0-*" />
    <PackageReference Include="AspNet.Security.OAuth.Yahoo" Version="2.0.0-*" />
    <PackageReference Include="AspNet.Security.OAuth.Paypal" Version="2.0.0-*" />
    <PackageReference Include="AspNet.Security.OAuth.GitHub" Version="2.0.0-*" />
    <PackageReference Include="AspNet.Security.OAuth.LinkedIn" Version="2.0.0-*" />
    <PackageReference Include="AspNet.Security.OAuth.Validation" Version="2.0.0-*" />
asadsahi commented 6 years ago

@AlejandroFlorin https://github.com/asadsahi/AspNetCoreSpa/commit/a559f21356df999e955b3e8592ad03e4e1e44fe4 should fix the issue. One of the nuget feed was removed. At some point these packages will be updated to final version, but until then one of the myget feed in NuGet.config will still allow pre-release version to be downloaded. let me know if you find anymore issues.

AlejandroFlorin commented 6 years ago

Thanks, that fixed it.