[GH-ISSUE #1312] [Bug] Can't launch app. #965

Closed
opened 2026-02-26 09:33:09 +03:00 by kerem · 7 comments
Owner

Originally created by @leozzyzheng on GitHub (May 31, 2024).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1312

Originally assigned to: @NickeManarin on GitHub.

Describe the bug
Application doesn't appear after launched, also not see it in task manager.

To Reproduce
Steps to reproduce the behavior:

  1. Just double click exe to launch it.
  2. Nothing happens.

Expected behavior
Application should show up.

Screenshots
None

Desktop (please complete the following information):

  • OS: Windows 11 23H2
  • Version 22631.3593

Additional context
Attachment is the log file I found.
24_05_31.txt

I can run application a few days ago, and I'm working on developing windows drivers for virtual box, so there might be many .net version installed on my machine, may be that's the root cause, but I'm not familiar with the .net environment, so I need a help, thanks!

Originally created by @leozzyzheng on GitHub (May 31, 2024). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1312 Originally assigned to: @NickeManarin on GitHub. **Describe the bug** Application doesn't appear after launched, also not see it in task manager. **To Reproduce** Steps to reproduce the behavior: 1. Just double click exe to launch it. 2. Nothing happens. **Expected behavior** Application should show up. **Screenshots** None **Desktop (please complete the following information):** - OS: Windows 11 23H2 - Version 22631.3593 **Additional context** Attachment is the log file I found. [24_05_31.txt](https://github.com/user-attachments/files/15509215/24_05_31.txt) I can run application a few days ago, and I'm working on developing windows drivers for virtual box, so there might be many .net version installed on my machine, may be that's the root cause, but I'm not familiar with the .net environment, so I need a help, thanks!
kerem 2026-02-26 09:33:09 +03:00
Author
Owner

@pawlos commented on GitHub (May 31, 2024):

@leozzyzheng From the error log it seems that your settings are corrupted. You could try moving Settings.xaml file (or delete you don't care about it) so that the app won't find those on startup and create a new one. It should be located in the AppData\roaming\ScreenToGif folder.

<!-- gh-comment-id:2141353520 --> @pawlos commented on GitHub (May 31, 2024): @leozzyzheng From the error log it seems that your settings are corrupted. You could try moving Settings.xaml file (or delete you don't care about it) so that the app won't find those on startup and create a new one. It should be located in the AppData\roaming\ScreenToGif folder.
Author
Owner

@leozzyzheng commented on GitHub (May 31, 2024):

@pawlos Thanks for the quick reply. I tried to remove Settings.xaml but still can't launch application, I'm going to build from source to debug it.

<!-- gh-comment-id:2141484831 --> @leozzyzheng commented on GitHub (May 31, 2024): @pawlos Thanks for the quick reply. I tried to remove Settings.xaml but still can't launch application, I'm going to build from source to debug it.
Author
Owner

@pawlos commented on GitHub (May 31, 2024):

@leozzyzheng do you have the log file from that run too? There are some local settings also - that could be the issue. I don't remember the location - maybe the app folder?

<!-- gh-comment-id:2141497689 --> @pawlos commented on GitHub (May 31, 2024): @leozzyzheng do you have the log file from that run too? There are some local settings also - that could be the issue. I don't remember the location - maybe the app folder?
Author
Owner

@leozzyzheng commented on GitHub (May 31, 2024):

@pawlos
Here is the log
24_05_31.txt

I can run application from visual studio, that's strange that I can't run the standalone one.

<!-- gh-comment-id:2141502238 --> @leozzyzheng commented on GitHub (May 31, 2024): @pawlos Here is the log [24_05_31.txt](https://github.com/user-attachments/files/15510743/24_05_31.txt) I can run application from visual studio, that's strange that I can't run the standalone one.
Author
Owner

@leozzyzheng commented on GitHub (May 31, 2024):

Is there any special steps to pack the standalone file? Providing the pack CLI would be much appreciated.

<!-- gh-comment-id:2141552368 --> @leozzyzheng commented on GitHub (May 31, 2024): Is there any special steps to pack the standalone file? Providing the pack CLI would be much appreciated.
Author
Owner

@leozzyzheng commented on GitHub (Jun 3, 2024):

@pawlos I found the problem is caused by single file mode, will try to finger it out.

<!-- gh-comment-id:2144147104 --> @leozzyzheng commented on GitHub (Jun 3, 2024): @pawlos I found the problem is caused by single file mode, will try to finger it out.
Author
Owner

@leozzyzheng commented on GitHub (Jun 3, 2024):

After debugging the dotnet, I think it's runtime mismatch, the problem is using the wrong libray(Baml2006) to load GUI, but I can't find why it use wrong host. Now I'm using no-self-contained version and everything works well, if I found the root cause someday, I will post here.

<!-- gh-comment-id:2144230722 --> @leozzyzheng commented on GitHub (Jun 3, 2024): After debugging the dotnet, I think it's runtime mismatch, the problem is using the wrong libray(Baml2006) to load GUI, but I can't find why it use wrong host. Now I'm using no-self-contained version and everything works well, if I found the root cause someday, I will post here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#965
No description provided.