I used Squirrel.Windows to deploy WPF for some time. My machine was processed and the file RELEAESESinside the folder Releaseswas recreated from scratch, since I completely excluded this folder in mine .gitignore. This seems to have violated the automatic update feature for users in the version that was created before I modeled again.
Is there anything I can install in a file Releasesto force older versions to insert updated versions without re-creating all nuget packages?
Here is the relevant part of my file Releases. Version users are 2.0.6121.16815not automatically migrated to newer versions below.

Here is my update code from app.xaml.cs. Not sure if this matters, as it technically works fine.
Task.Run(async () =>
{
using (var mgr = new UpdateManager(updatePath, packageName))
{
var updates = await mgr.CheckForUpdate();
if (updates.ReleasesToApply.Any())
{
try
{
var lastVersion = updates.ReleasesToApply.OrderBy(x => x.Version).Last();
await mgr.DownloadReleases(updates.ReleasesToApply);
await mgr.ApplyReleases(updates);
try
{
latestExe = Path.Combine(mgr.RootAppDirectory, string.Concat("app-", lastVersion.Version), "App.exe");
log.Debug("Latest exe:" + latestExe);
mgr.CreateShortcutsForExecutable(latestExe, DefaultLocations, false);
}
catch(Exception ex)
{
log.Error("error creating shortcuts for executable",ex);
}
restart = true;
}
catch(Exception ex)
{
log.Error("Error pulling in updated files", ex);
}
}
else
{
log.Debug("No updates available");
}
}
if (restart)
{
log.Debug("Updated App. Restarting...");
UpdateManager.RestartApp(latestExe);
}
}).Wait();
source
share