首页 > 解决方案 > 如何使用 Visual Studio for Mac 将图标 url 添加到我的 Nuget 包

问题描述

我在 Visual Studio for Mac 中使用 .csproj 的 nuget 属性设置了 Icon Url。但是,当我将其部署到 Azure Artifacts(类似于 nuget.org)时,不会出现任何图像图标。我也在使用 Azure Pipelines 进行部署。我也试过清除缓存但没有成功。

在此处输入图像描述

标签: nugetazure-pipelinesvisual-studio-macazure-artifactsnuget-spec

解决方案


Azure Artifacts Web UI 目前不显示包图标。

在最近的服务器端更改之后,通过 IconUrl 指定的图标现在应该出现在支持它们的客户端中(例如常规 Visual Studio;不确定 VS for Mac)。


推荐阅读