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.

389 questions
89
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. …
43
votes
11 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…
38
votes
5 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
  • 10,206
  • 9
  • 66
  • 144
25
votes
5 answers

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
  • 8,724
  • 7
  • 66
  • 106
16
votes
3 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…
Ingo B
  • 564
  • 1
  • 4
  • 17
13
votes
3 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?
12
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…
Prado
  • 914
  • 10
  • 21
11
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…
11
votes
4 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…
10
votes
3 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
  • 2,932
  • 2
  • 15
  • 28
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…
8
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…
8
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…
7
votes
2 answers

Automatically promote a nuget packge using a relese definition

In onprem Azure DevOps (Version 17.143.28621.4) is there a way to automatically promote a nuget package from one view to another using a task in a release definition? When we trigger a release for a build, the artefacts (i.e. nuget packages) go…
7
votes
1 answer

Push a NuGet package to VSTS with .NET CLI

I'm trying to publish a NuGet package to a private VSTS feed. I'd like to achieve that using only .NET CLI and without creating or modifying a nuget.config file. I've tried to do: dotnet nuget push --source…
Jakub Binkowski
  • 428
  • 5
  • 9
1
2 3
25 26