简体   繁体   中英

Is there a way to use the Artifacts feed for my updates using Squirrel?

I have a C# Console application(.Net Framework) that I want to update using Squirrel . I have my program on Azure DevOps, which has an integrated Nuget feed in the Artifacts section.

Squirrel uses nuget packages to update the application. Is there a way that I can upload the packages that Squirrel generates as Artifacts in order for my program to use them?

It's ok if the program needs to download those packages in the local machine and then let Squirrel do its work with the file in the computer. In my head, it seems to be the only workaround. Any suggestion?

This is my first question so if it's hard to understand please tell me and I will try to write it better.

Is there a way that I can upload the packages that Squirrel generates as Artifacts in order for my program to use them?

If the packages that Squirrel generates indicates the nuget packages ending with .nupkg , of course you can upload them to Azure Devops feed. See Publish a feed . But the Azure Devops nuget feed can only host nuget packages, if you want to host other files like xx.exe or xx.msi , you should use the Universal Package .

But if you want to use the package hosted in Azure Devops Artifact feed for auto-updating, I think it's not supported, see this : To consume packages from Private Azure Devops feed, you have to complete authentication. And I think this will impact normal Squirrel updating process . So in my opinion, you can't use Artifact for your Squirrel updating.

Hope it helps and if I misunderstand anything, feel free to correct me :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM