Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Install NugetPackage from Github Packages

$
0
0

I have successfully pushed a package to Github packages:enter image description here

Now, Im trying to install this package in a project. I have created a nuget.config in the project that should consume from the nuget-package. The file looks like this:

<?xml version="1.0" encoding="utf-8"?><configuration><packageSources><add key="github" value="https://nuget.pkg.github.com/blendow/index.json" /></packageSources><packageSourceCredentials><github><add key="Username" value="bryankarlsson" /><add key="ClearTextPassword" value="xxx" /></github></packageSourceCredentials><packageRestore><add key="enabled" value="True" /><add key="automatic" value="True" /></packageRestore><packageManagement><add key="format" value="0" /><add key="disabled" value="False" /></packageManagement></configuration>

When I try to install the package, I get the following error:

Failed to retrieve information about 'BGIRestclient' from remotesource'https://github.com/blendow/bginstitute-restclient/FindPackagesById()?id='BGIRestclient'&semVerLevel=2.0.0'.Response status code does not indicate success: 404 (Not Found).

What does this mean? Why can't it be found when I press Install? What am I doing wrong?


Viewing all articles
Browse latest Browse all 3067

Trending Articles