C
C#•5mo ago
Poller

Azure Devops Nuget restore Artifact error

Given the Pipeline in screenshot i get an error in the 'dotnet restore' task. "D:\a\1\s\src\cs[PROJECT].api.contract[PROJECT].api.contract.csproj : error NU1301: Unable to load the service index for source https://pkgs.dev.azure.com/[COMPANY]/_packaging/[FEEDID]/nuget/v3/index.json. [D:\a\1\s\src\cs\Tester.signalR\Tester.signalR.csproj]" i already spent more than 2 full work days on that and can not find the solution to this problem. Any help or ideas to diagnose it further is appreciated info: i tried with a nuget.config aswell as in the current pipeline a selection
No description
16 Replies
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Poller
Poller•5mo ago
the feed is in the same project. i will give it later a try. (i thought i had it that way already, but i test with your input again. i did not use the UseDotNet command. is that reuired/ what is it for?
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Poller
Poller•5mo ago
The issue that NuGet Restore throws an error still persists. Here the Task i am using: ''' - script: dotnet build --configuration $(BuildConfiguration) -r win-x64 displayName: "dotnet build" ''' and the resulting log: ''' D:\a\1\s\src\cs[PRODUCT].database.sqlite[PRODUCT].database.sqlite.csproj : error NU1301: Unable to load the service index for source https://pkgs.dev.azure.com/[COMPANY]/_packaging/[FEED]/nuget/v3/index.json. [D:\a\1\s[SOLUTION].sln] ''' since i now have used the following: - Nuget Task - dotnet restore - dotnet build - script dotnet build - script dotnet restore (all of them with choosing feeds by hand or via nuget.config) and the fact, that i do roughly the same in other projects where it works, i think the pipeline is NOT the issue (religions on how to create it internally beside). i suspect it is some kind of permission issue. but comparing with other projects of mine i cant spot the difference. the error message is always the same. no matter whos right way i try. its kind of ridiciulous, that there is no way to diagnose further what it is that causes the problem...
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Poller
Poller•5mo ago
thats kind of my suspicion. i use cloud pool and everything basically default. i give it a look this evening. business hours for that got cut at 35 for this.
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Poller
Poller•5mo ago
i think permissions. right yeah
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Poller
Poller•5mo ago
the feed is organization scoped
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Poller
Poller•5mo ago
yes. thats all in the same scope to say.
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Poller
Poller•5mo ago
that was it... (i illegally spent a few minutes to test) now i got another error but thats a publish related one. i need to look into at the evening.
Unknown User
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Poller
Poller•5mo ago
I had a issue with a variable 🙂 the pipeline works now. Thank you for hinting me to the right direction
Want results from more Discord servers?
Add your server
More Posts
✅ COM + NativeAOT HelpI'm fairly new to COM and I'm trying to implement an RDP Dynamic Virtual Channel client dll which usUsing a concrete derived type in place of an interface in a constructor signatureI have a base class whose constructor takes in an instance of a generic interface: `public Odometry(C#, Process Memory slowly going up but snapshots not indicating memory leakHello, so I've been working on testing pythonnet for use in our companies application and now am do✅ Primary Key not recognizingCan't seem to rid my code of this error, my primary key looks correctly organized for recogonition. Images doesn't show up in C# wpfhello, so i've got an assignment due next week, i've got to create a wpf which, when it launches, sh✅ C# .NET in Linux Mint : VSCode or Vbox?Does any of you frequently code using c# .net and asp.net in linux? Last time I checked vs code exte✅ WPF application doesn't boot when packed to single fileHello, I made a program in WPF, and in the publish settings I enabled "Produce single file", but the✅ Unable to configure HTTPS endpoint.The container builds successfully but then at the end it says: ```at Microsoft.Extensions.Hosting.In✅ How to share my C# console application with MacOS friends?hello. i made a very very basic c# console application game using jetbrains rider i want to share m'scriptcs' is not recognized as an internal or external commandI get this error even when I just want to print a hello world. This has not happened before.