简体   繁体   中英

Why Auto Update does not work for sample MyApp using Squirrel.Windows

As per documentation I followed all the steps but the application did not update to 3.0.0. Which I suppose should happen automatically when App was opened. (It stayed at 1.0.0) 在此处输入图像描述


在此处输入图像描述

  1. I updated the Assembly Info version: 在此处输入图像描述

  2. Did release again from Visual Studio

  3. Updated Nuget meta data in Nuger package manager在此处输入图像描述

  4. Executed squirrel --releasify MyApp.3.0.0.nupkg 在此处输入图像描述

This indeed created new.nupkg with 3.0.0: 在此处输入图像描述

PS I'm trying 1.0.0 to 3.0.0 as an example.

App was indeed 3.0.0 when running directly from Visual Studio 在此处输入图像描述

My releases folder has been set correctly: Folder Path: 在此处输入图像描述 In Code在此处输入图像描述

In %LocalApp\MyApp version 3.0.0 had not been downloaded: 在此处输入图像描述

Learnt that Main method must be async and await must be used.

在此处输入图像描述

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