azure-artifacts

VSTS - unpromote a package version from release view

五迷三道 提交于 2020-01-15 06:29:27
问题 Our projects is currently using VSTS (Visual Studio Team Services) packages for sharing packages between projects. We want to adopt the Release Views feature to pick up packages at different stages of maturity for automated releases to different environments. While it is pretty easy to promote a package to a specific view, I have not found a way to unpromote the package from that view. This could be needed for a couple of reasons: Package was promoted by mistake. Package needs to be

In Visual Studio, how to change package manager font size?

拈花ヽ惹草 提交于 2020-01-15 03:51:09
问题 I have read that the font size for Package Manager console can be changed. Font size can be changed by adjusting the settings for Package Manager Console within the Fonts and Colors section of the options popup. However I cannot find in this screen what option would change the font size specifically for Package Manager. 回答1: Here is how you change the font of package manager console only. Go to Tools -> Options Select Font and Colors under the Environment . From the drop down menu of Show

VSTS Maven Build Failaure - Forbidden

有些话、适合烂在心里 提交于 2019-12-25 16:10:00
问题 I am getting below error in vsts build. I followed same steps as mentioned here but no luck. 2017-10-12T15:20:56.2694625Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project mycompany-vault-client: Failed to deploy artifacts: Could not transfer artifact mycompany-vault:mycompany-vault-client:jar:0.0.1-20171012.152055-6 from/to mycompany-dts-visualstudio.com-mycompany.vault.packages (https://mycompany-dts.pkgs.visualstudio.com/

VSTS Maven Build Failaure - Forbidden

廉价感情. 提交于 2019-12-25 16:09:08
问题 I am getting below error in vsts build. I followed same steps as mentioned here but no luck. 2017-10-12T15:20:56.2694625Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project mycompany-vault-client: Failed to deploy artifacts: Could not transfer artifact mycompany-vault:mycompany-vault-client:jar:0.0.1-20171012.152055-6 from/to mycompany-dts-visualstudio.com-mycompany.vault.packages (https://mycompany-dts.pkgs.visualstudio.com/

VisualStudio Online and pack Nuget packages

狂风中的少年 提交于 2019-12-24 09:48:55
问题 I'm creating a repository in Visual Studio OnLine when I have some class libraries. I want to create (pack) and push for each of them a Nuget package in my private repository. In a project there is a dependency on Microsoft.ApplicationInsights . If I create on my computer a package, it is working fine. If I try to do the same on Visual Studio Online I have an error: The nuget command failed with exit code(1) and error(NuGet.CommandLine.CommandLineException: Unable to find 'Microsoft

VSTS Build Nuget Packager don't work

狂风中的少年 提交于 2019-12-24 01:37:17
问题 I'm trying to package one library after build to publish on my VSTS Packages feed. But the task Nuget Packager is not working. I've tried lots of combinations of settings, but I could not make it works. I've tried to package the library using .Net Core and .Net 4.6.2. I'm getting the following error when trying to pack with .Net Core or .Net 4.6.2: ##[error]The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please

VSTS Nuget Installer fails to authenticate with package feed

时光怂恿深爱的人放手 提交于 2019-12-23 01:13:21
问题 I have a package feed on VSTS providing several packages that I reference in a solution that is also being built on VSTS. The builds have suddenly started failing at the package restore phase with the logs indicating that it cannot find the dlls nuget is supposed to restore. Restoring NuGet package Basd.Diagnostics.0.7.0. WARNING: Unable to find version '0.7.0' of package 'Basd.Diagnostics'. The public / private feeds are listed in my nuget.config and they also show up in the build logs

How to to produce both release and pre-release packages from one nuspec in VSTS?

狂风中的少年 提交于 2019-12-22 18:02:10
问题 Currently my build produces both packages having a newer version every time: Release: Automatic package versioning = Use the build number Pre-release: Additional build properties = Version=$(user.BuildFullVersion)-beta And the only one nuspec has a placeholder to version: <version>$version$</version> I want to increment version manually, that it - repetitive build would produce same version until I increment it manually. How can I achieve that still having single nuspec? Can I adjust package

How to use Visual Studio Team Services as a NuGet feed in LINQPad

旧街凉风 提交于 2019-12-21 04:59:22
问题 I am using LINQPad 5 and VSTS (visual studio team services) I have a NuGet feed (v3) in VSTS and I would like to use packages from there(private) in LINQPad I have tried using the personal access token from VSTS as the NuGet password in LINQPad I have tried putting the VSTS credential provider for nuget in AppData\Local\NuGet\CredentialProviders I have tried putting the VSTS credential provider for nuget in AppData\Local\LINQPad\NuGet\CredentialProviders I have tried using my VSTS username

overwrite nuget packages in feed on visual studio team services

孤人 提交于 2019-12-19 16:35:52
问题 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 overwrite all packages that have already been uploaded? 回答1: is there a way to overwrite all packages that have already been uploaded? The simple answer is No. Jonathan Myers`s answer pointed out the correct document: Understand immutability of