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

Access to internal nuget package from another Azure Devops feed

$
0
0

Background

We have two Projects at Azure Devops top level, TOOLS and APPLICATIONS.

The former is for general purpose code that should be reused. The latter is for the actual production applications.

Scenario

I have added a project to TOOLS called authorization.shared , it has been published as a nuget package and needs to be used by a solution from the APPLICATIONS feed.

The nuget has been published and can be referenced and used correctly.

The issue

After adding the reference to the nuget to my application, I get the following on the dotnet restore step op the application pipeline build:

error NU1101: Unable to find package authorization.shared. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, feed-0635e925-8deb-4329-92da-a82d57dc96d4, NuGetOrg [F:\a\1\s\MyApplication.API\MyApplication.API.csproj]F:\a\1\s\MyApplication.API\MyApplication.API.csproj : error NU1101: Unable to find package authorization.shared. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, feed-0635e925-8deb-4329-92da-a82d57dc96d4, NuGetOrg

Where 'feed-0635e925-8deb-4329-92da-a82d57dc96d4' is the feed hosting the nuget package.

My question

I don't have admin rights, so I can't change permissions myself. I have to request changes. I have looked into what I think needs to happen but as I can't try it for myself I want to be sure I ask the right change.

I think the following toggles need to be turned OFF, is that correct?

enter image description here

If not, or partially, what else needs to happen to allow access to my nuget package from another feed?

(You can find that under Project settings / Settings )


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>