简体   繁体   English

如何将 package 从 Visual Studio 发布到 azure 工件

[英]How to publish a package from Visual Studio to azure artifacts

I am looking for a way to publish a package from visual studio to azure artifact's feed.我正在寻找一种方法来将 package 从 visual studio 发布到 azure 工件的提要。 I am able to do that using cli and azure pipeline, but now I am looking for a way to do that from visual studio 2022.我可以使用 cli 和 azure 管道来做到这一点,但现在我正在寻找一种从 visual studio 2022 中做到这一点的方法。

Kind Regards亲切的问候

How to publish a package from Visual Studio to azure artifacts如何将 package 从 Visual Studio 发布到 azure 工件

I am afraid there is no out of box way publish a package from Visual Studio to azure artifact feed.恐怕没有开箱即用的方式将 package 从 Visual Studio 发布到 azure 工件提要。

We have to do this via cli and azure pipeline.我们必须通过 cli 和 azure 管道来做到这一点。

If you still want to do this by Visual Studio, you could add a MSBuild customer task in the project file to invoke the cli to publish packge:如果您仍想通过 Visual Studio 执行此操作,则可以在项目文件中添加一个 MSBuild 客户任务来调用 cli 来发布 packge:

<Target Name="PublishMyPackage" AfterTargets="Build">
    <Exec Command="<give your command here>" />
</Target>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio Web 将 ASP.NET 应用程序发布到 Azure Web 应用程序结果为 Forbidden,除了来自一个分支、一台计算机的代码 - Visual Studio Web Publish ASP.NET app to Azure Web App results in Forbidden except for code from one branch, one computer 如何修复通过 Visual Studio 发布的 function 应用程序中的错误 - How to fix error in function app publish through visual studio Visual Studio 2022 发布 window 警告我有关 Azure 应用服务不支持 Win-x64 - Visual Studio 2022 Publish window warning me about Azure App Service not supporting Win-x64 如何从 VS Code 发布到 Azure 中的开发槽 - How to publish to a development slot in Azure from VS Code 有没有办法在非交互模式下使用 azure artifacts-keyring 身份验证? 我想在 azure func 中安装私有 py 包(工件) - Is there a way to use azure artifacts-keyring authentication in non interactive mode? I want to install private py package(artifacts) in azure func 如何将相同 package 的多个版本发布到 gitlab 注册表 - How to publish multiple versions of same package to gitlab registry 发布失败:do.net 构建已退出,代码为 0(Azure Data Studio - SQL 数据库项目扩展) - Publish fails with: dotnet build exited with code 0 (Azure Data Studio - SQL Database Projects extension) 了解Visual Studio中Azure function blob模板的步骤 - Understanding steps of the Azure function blob template in Visual Studio Azure 管道如何为“仅手动”触发发布的每个阶段过滤工件 - Azure Pipelines how filter artifacts per stage for "Manual only" triggered Releases 如何从 node.js package.json 文件克隆 Azure Dev Ops 存储库? - How to clone a Azure Dev Ops repo from node.js package.json file?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM