Questions tagged [azure-artifacts]

Azure Artifacts is an extension for Azure DevOps that can host NuGet and npm packages and organize them in feeds.

Azure Artifacts is a Visual Studio Team Services extension that can host NuGet and npm packages and organize them in feeds.

Documentation can be found on visualstudio.com.

561 questions
111
votes
12 answers

Azure DevOps: User lacks permission to complete this action. You need to have 'AddPackage'

I get an error: User XXX lacks permission to complete this action. You need to have 'AddPackage' when trying to push a nuget package to Azure DevOps artifacts. I am the administrator This is the stage: - stage: displayName: 'Release' …
diegosasw
  • 13,734
  • 16
  • 95
  • 159
94
votes
3 answers

How do I uninstall "Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1"?

I'm having trouble uninstalling Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1. I'm in Windows 7, in the Programs and Features window. When I click uninstall, it brings up a dialog box, with the options repair, uninstall, and cancel. …
75
votes
7 answers

How to download the latest build artifacts from Azure DevOps programmatically?

I have a .NET C# application and I would like to download the latest artifacts generated by the latest build of this public Azure DevOps project: https://dev.azure.com/LumiaWoA/Boot%20Shim/_build?definitionId=3 How does one interface with Azure…
SuperJMN
  • 13,110
  • 16
  • 86
  • 185
52
votes
13 answers

Nuget Package - feed (VSTS) :Exception 'System.AggregateException' thrown when trying to add source

I have created a new feed with in Package Release hub (VSTS), installed the credentials, then added the package source. Now, I am using Visual Studio 2015 to install Micrososft.Aspnet.mvc to a project, however it gives the following…
24
votes
4 answers

Azure DevOps Project pipeline not able to access NuGet package from Artifact Feed in different Project

Updated 20-Feb-2020 Summary Azure DevOps pipeline build not able to find NuGet package from our private feed under Artifacts. Our Azure DevOps environment In Azure, we have our company "space": dev.azure.com/OurCompany Under that, we have multiple…
22
votes
2 answers

How to make the Nuget restore work faster?

We are building CD pipeline using VSTS hosted build servers. It takes more than 3 minutes to restore Nuget. This is too much time. How can I make it run faster? Is there any sort of caching system we can use?
21
votes
4 answers

overwrite nuget packages in feed on visual studio team services

while using nuget.exe push \\share\Packages\*.nupkg -Source "https://myvsts.pkgs.visualstudio.com/_packaging/tcpcm/nuget/v3/index.json" -ApiKey VSTS i got an Response status code does not indicate success: 409 (Conflict). error is there a way to…
user5955036
20
votes
5 answers

pip install from Azure DevOps Python Artifacts feed not working

When I attempt to install a package from our Azure DevOps Artifacts feed, I get the error: Looking in indexes: https://pypi.org/simple, https://pkgs.dev.azure.com/company/company_Software/_packaging/PyPI/pypi/simple/ ERROR: Could not find a version…
Nelson Yeung
  • 3,262
  • 3
  • 19
  • 29
15
votes
4 answers

Publish *.snupkg symbol package to private feed in VSTS

I want to package and publish a .net standard based code as a nuget package using VSTS build. I have created a private nuget feed (in VSTS Artifacts) to which I would like to publish nuget package along with symbols package. I tried using dotnet CLI…
Pradeep
  • 1,108
  • 1
  • 15
  • 31
13
votes
5 answers

VSTS/Azure DevOps: Auto-Increment NuGet Package Version on Pack

Running the .NET Core Pack task, how do I get the outputted NuGet package version to auto-increment itself? So, for example, if my current version is 1.0.0, then the next time I call the Pack task, I would like to see 1.0.1. I'm using environment…
12
votes
1 answer

NuGet Push throws PackageExistsAsDeletedException

I'm testing the VSTS hosted NuGet feed and have created and published a NuPkg to the feed with the name: SomeComponent.2.1.0.npkg I wanted to re-test a change I made to the release definition, so I deleted the package from the feed, and emptied the…
JohnKoz
  • 908
  • 11
  • 21
11
votes
1 answer

Download pipeline artifact from another pipeline Azure

I'm very new to this pipeline and i'm trying to build a automated way to build the .msi installer file for my application. I have 2 projects .Net Core and Python, so i created 2 pipelines. The .Net Core pipeline will build and save the files in a…
A Coder
  • 3,039
  • 7
  • 58
  • 129
10
votes
1 answer

How to use private npm package feed on visual studio team services build and release management

I started usign a private npm feed on my visual studio team services account, following their guide and having added a .npmrc file registry=https://ascend-xyz.pkgs.visualstudio.com/_packaging/AscendNPMFeed/npm/registry always-auth=true The problem…
9
votes
2 answers

VSTS NuGet pack exclude test projects

I am using VSTS vNext build system to build a C# solution. Below you can see the settings for the NuGet Packager. The path to nuspec files is set to reference the .csproj files. However this includes all .csproj files; I need to exclude test…
8
votes
2 answers

How to manually publish a file to Azure Artifacts?

I have a file which I have created manually on my local computer. I need it in several Azure DevOps pipelines. I want to use it as an "Artifact". I know how to publish artifacts from within an Azure DevOps Pipeline, but this specific file I just…
hey
  • 2,643
  • 7
  • 29
  • 50
1
2 3
37 38