aspnet / WebHooks

[Archived] Libraries to create and consume web hooks on ASP.NET Core. Project moved to https://github.com/aspnet/AspLabs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install the nuget package from myget

WestDiscGolf opened this issue · comments

I've tried installing the last 3 nuget package versions from ...
https://dotnet.myget.org/feed/aspnetcore-dev/package/nuget/Microsoft.AspNetCore.WebHooks.Receivers
... and get the following errors:

PM> Install-Package Microsoft.AspNetCore.WebHooks.Receivers -Version 1.0.0-preview3-32251 -Source https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json
The 'Source' parameter is not respected for the transitive package management based project(s) ClassLibrary2. The enabled sources in your NuGet configuration will be used. 
Restoring packages for C:\Users\Adam\source\repos\ClassLibrary2\ClassLibrary2\ClassLibrary2.csproj...
  GET https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.webhooks.receivers/index.json
  OK https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.webhooks.receivers/index.json 386ms
Install-Package : NU1102: Unable to find package Microsoft.AspNetCore.WebHooks.Receivers with version (>= 1.0.0-preview3-32251)
  - Found 2 version(s) in nuget.org [ Nearest version: 1.0.0-preview2-final ]
  - Found 0 version(s) in Microsoft Visual Studio Offline Packages
At line:1 char:1
+ Install-Package Microsoft.AspNetCore.WebHooks.Receivers -Version 1.0. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 
Install-Package : Package restore failed. Rolling back package changes for 'ClassLibrary2'.
At line:1 char:1
+ Install-Package Microsoft.AspNetCore.WebHooks.Receivers -Version 1.0. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 
Time Elapsed: 00:00:01.1644406

This was done into netstandard 2 project with the latest preview of aspnetcore 2.1 installed.

What am I missing?

Added the myget feed to the package manager config and ran it without the source. Closing :)