Restart with Avalonia
See original GitHub issueAutomatic restarting does not work with Avalonia Applications.
It is probably because I don’t have a .exe file.
In order to start it again it would need to do
dotnet MyApp.dll
It would be nice to have an option to support this.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Application Lifetimes
Allows you to subscribe to Startup Exit events and explicitly shutdown the application by calling Shutdown method. Also provides the control of the ......
Read more >Getting Started with Avalonia
Your Avalonia application is now up and running. You can open the MyApp folder to start improving and building upon your application. Edit...
Read more >How can we change the default shutdown mode of an ...
1 Answer 1 ... You can set it in Main() via StartWithClassicDesktopLifetime(T, string[], ShutdownMode) method. EG: In the "Avalonia Application" ...
Read more >.NET source generation suddenly shows red code, fixed via ...
AttachDevTools(); to an Avalonia Window and it started acting up. ... almost unusable at times having to restart the IDE every 5-15 minutes....
Read more >Unable to launch a process. - Raspberry Pi Forums
I am new to Linux and systemd so I'm not sure if the following script is permitted. I want to launch "myRUNNINGAPP" from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Otherwise it works very well even on Linux. Just had to remove the “Onova works only on Windows warning”, make it target .Net Standard 2.0 and change a little bit to make restarting work there too 💯 . Very nice and simple updater.
Line 45 - 73 in Updater - > Program.cs
You start the process there without using startInfo you created before.
Change
to
And it works 😃