“在提取通用包工具时发生错误”尝试使用VSTS / AZ CLI从Azure Dev Ops源下载通用程序包时出错 [英] "An error occurred while extracting the Universal Packages tooling" error when trying to download universal package from Azure Dev Ops feed using VSTS/AZ CLI

查看:54
本文介绍了“在提取通用包工具时发生错误”尝试使用VSTS / AZ CLI从Azure Dev Ops源下载通用程序包时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用VSTS或AZ CLI从Azure Dev Ops中的通用包源中下载包。我可以使用令牌进行身份验证:


登录登录 - 口令MYTOKEN - 实例https://dev.azure.com/MYINSTANCE/


<然后尝试下载软件包:


vsts package universal download --instance https://dev.azure.com/MYINSTANCE/ --feed MYFEED --name MYAPPNAME - 版本MYAPPVERSION - 路径C:\ Users \ MYYERERNAME \Desktop\test


我收到以下错误:


错误解压缩Universal Packages工具时出现:[WinError 5]拒绝访问:'C:\\Users \\MYUSERNAME \\.vsts \\cli \\tools \\artifacttool \\\\\ aa8eb8c-519f-4e12-a01d-f59956ea201c' - > 'C:\\Users\\MYUSERNAME\\.vsts\\cli\\tools\\artifacttool\\ArtifactTool_win10-x64_0.2.93'

解决方案

此论坛适用于
Azure Stack
,一个混合云平台
。 根据
Azure DevOps支持页面 ,提出这些问题的最佳地点是
StackOverflow在Azure-Devops 标记下。


I am trying to download a package from a Universal Package feed in Azure Dev Ops using either the VSTS or AZ CLI. I am able to authenticate using a token:

vsts login --token MYTOKEN --instance https://dev.azure.com/MYINSTANCE/

and then attempt to download the package:

vsts package universal download --instance https://dev.azure.com/MYINSTANCE/ --feed MYFEED --name MYAPPNAME --version MYAPPVERSION --path C:\Users\MYUSERNAME\Desktop\test

And I get the following error:

An error occurred while extracting the Universal Packages tooling: [WinError 5] Access is denied: 'C:\\Users\\MYUSERNAME\\.vsts\\cli\\tools\\artifacttool\\8a19eb8c-519f-4e12-a01d-f59956ea201c' -> 'C:\\Users\\MYUSERNAME\\.vsts\\cli\\tools\\artifacttool\\ArtifactTool_win10-x64_0.2.93'

解决方案

This forum is for Azure Stack, a hybrid cloud platform.  According to the Azure DevOps Support page, the best place to ask these questions is on StackOverflow under the Azure-Devops tag.


这篇关于“在提取通用包工具时发生错误”尝试使用VSTS / AZ CLI从Azure Dev Ops源下载通用程序包时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆