Skip to content

UpdateManager.RestartApp fails when EntryAssembly is a dll#1554

Closed
jeremia wants to merge 2 commits intoSquirrel:developfrom
TACDIS-Cash:bugfix/1553/UpdateManager-RestartApp-fails-when-EntryAssembly-is-dll
Closed

UpdateManager.RestartApp fails when EntryAssembly is a dll#1554
jeremia wants to merge 2 commits intoSquirrel:developfrom
TACDIS-Cash:bugfix/1553/UpdateManager-RestartApp-fails-when-EntryAssembly-is-dll

Conversation

@jeremia
Copy link

@jeremia jeremia commented Oct 11, 2019

This resolves #1553

@GeertvanHorrik
Copy link
Contributor

Question: why not check if extension is .dll? If so, call Path.ChangeExtension to exe. That's how I solved the restarting of my .NET Core apps (that now are .dll entry assemblies). But if you have a good reason, I might have to change my method everywhere in my code :-)

@jeremia
Copy link
Author

jeremia commented Oct 13, 2020

Why check the extension and have an if/else instead of using a method that will work for both cases?
Keep It Simple and Stupid. 🙂

@jeremia
Copy link
Author

jeremia commented Apr 22, 2025

Since this has been open for 5 years + without getting merged and it's not building when I update the branch I will l close this.

@jeremia jeremia closed this Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UpdateManager.RestartApp fails when EntryAssembly is a dll

3 participants