私有 NuGet Feed 中的 dotnet 自定义模板可发现性

bst*_*dev 6 artifactory nuget .net-core

我按照本指南创建了一个带有 nuget 包的 dotnet 自定义模板:https://learn.microsoft.com/en-us/dotnet/core/tools/custom-templates

我构建 nuget 包的 csproj 文件正是上面链接中的文件。

推送到我们的私人 NuGet 源(JFrog Artifactory)后,我可以使用 安装模板dotnet new -i MyTemplate --nuget-source MyNuGetFeed,但无法使用dotnet new --update-apply命令更新它,并且模板不会显示在dotnet new MyTemplate --searchdotnet new --update-check命令中,我尝试附加标志--nuget-source,但这确实似乎也不起作用。

我需要做些什么才能使这些命令与私人提要一起使用吗?