[GH-ISSUE #1057] Make it work on .NET 5.x as well #796

Closed
opened 2026-02-26 09:32:40 +03:00 by kerem · 10 comments
Owner

Originally created by @thany on GitHub (Jan 13, 2022).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1057

Originally assigned to: @NickeManarin on GitHub.

Describe the bug
I'm not sure requiring .NET 6 is a good idea for me, as my pc is a development pc for (among others) .NET applications. I don't do .NET development myself, but I do have to compile and run stuff. Long story short, I don't want to bollocks up my installation.

On top of that, it doesn't feel right to be installing a .NET version, esp one that doesn't come with Windows, for one program.

To Reproduce
Steps to reproduce the behavior:

  1. Download the latest version
  2. Run it

Expected behavior
Works on .NET 5.x just like the previous(-ish) versions.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10 21H2
  • Version: 2.35.4
Originally created by @thany on GitHub (Jan 13, 2022). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1057 Originally assigned to: @NickeManarin on GitHub. **Describe the bug** I'm not sure requiring .NET 6 is a good idea for me, as my pc is a development pc for (among others) .NET applications. I don't do .NET development myself, but I do have to compile and run stuff. Long story short, I don't want to bollocks up my installation. On top of that, it doesn't feel right to be installing a .NET version, esp one that doesn't come with Windows, for one program. **To Reproduce** Steps to reproduce the behavior: 1. Download the latest version 2. Run it **Expected behavior** Works on .NET 5.x just like the previous(-ish) versions. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: Windows 10 21H2 - Version: 2.35.4
kerem 2026-02-26 09:32:40 +03:00
Author
Owner

@thany commented on GitHub (Jan 13, 2022):

For those encountering this issue: Latest working version for me is 2.34.1. Reverting to that for the time being. Improvements on newer version don't seem to be super important on the surface (no offense) so this will work for me until hopefully this issue can be resolved.

<!-- gh-comment-id:1011962784 --> @thany commented on GitHub (Jan 13, 2022): For those encountering this issue: Latest working version for me is [2.34.1](https://github.com/NickeManarin/ScreenToGif/releases/tag/2.34.1). Reverting to that for the time being. Improvements on newer version don't seem to be super important on the surface (no offense) so this will work for me until hopefully this issue can be resolved.
Author
Owner

@NickeManarin commented on GitHub (Jan 14, 2022):

If you don't want to install .NET 6 Desktop Runtime, download the Microsoft Store version, it doesn't need a .NET 6 install.

But, installing .NET 6 desktop runtime should be fine and quick.
I'm thinking about alternatives for true portable versions, but it will end up increase the file size a lot.

<!-- gh-comment-id:1012716303 --> @NickeManarin commented on GitHub (Jan 14, 2022): If you don't want to install .NET 6 Desktop Runtime, download the Microsoft Store version, it doesn't need a .NET 6 install. But, installing .NET 6 desktop runtime should be fine and quick. I'm thinking about alternatives for true portable versions, but it will end up increase the file size a lot.
Author
Owner

@thany commented on GitHub (Jan 17, 2022):

If the Store version doesn't require .NET 6, why does the portable version? 🤨

I prefer not to install anything from the Store, unless there's no other option and I cannot live without the software in question. Store problems are hopefully common knowledge...

We can also look at this from a different angle: why does it need .NET 6 in the first place? What was wrong with or lacking in .NET 5?

<!-- gh-comment-id:1014360163 --> @thany commented on GitHub (Jan 17, 2022): If the Store version doesn't require .NET 6, why does the portable version? 🤨 I prefer not to install anything from the Store, unless there's no other option and I cannot live without the software in question. Store problems are hopefully common knowledge... We can also look at this from a different angle: why does it need .NET 6 in the first place? What was wrong with or lacking in .NET 5?
Author
Owner

@NickeManarin commented on GitHub (Jan 17, 2022):

Well, it still requires .NET 6, it just comes along with the downloaded files.
But with the Store version, you only download what's needed.

As for the installer and portable versions, I would need to always ship the 120MB file everytime an update was released.

Btw, I can publish in two ways the software: as a single .exe file (ScreenToGif.exe with all .NET 6 files inside) or as separated files (ScreenToGif.exe + 100s of .NET 6 files).

<!-- gh-comment-id:1014601964 --> @NickeManarin commented on GitHub (Jan 17, 2022): Well, it still requires .NET 6, it just comes along with the downloaded files. But with the Store version, you only download what's needed. As for the installer and portable versions, I would need to always ship the 120MB file everytime an update was released. Btw, I can publish in two ways the software: as a single .exe file (ScreenToGif.exe with all .NET 6 files inside) or as separated files (ScreenToGif.exe + 100s of .NET 6 files).
Author
Owner

@thany commented on GitHub (Jan 18, 2022):

Alright, well that explain why. But you skipped my last question.

<!-- gh-comment-id:1015393431 --> @thany commented on GitHub (Jan 18, 2022): Alright, well that explain why. But you skipped my last question.
Author
Owner

@UnicodeTreason commented on GitHub (Jan 20, 2022):

As someone who just runs this as a portable .exe off a USB drive the sudden requirement to install .NET v6 was a surprise.
I will remain using v2.34.1 for now.

Use Case if curious, very handy to quickly record a screen when replicating an odd issue on a random PC.

<!-- gh-comment-id:1017178412 --> @UnicodeTreason commented on GitHub (Jan 20, 2022): As someone who just runs this as a portable .exe off a USB drive the sudden requirement to install .NET v6 was a surprise. I will remain using v2.34.1 for now. Use Case if curious, very handy to quickly record a screen when replicating an odd issue on a random PC.
Author
Owner

@ElMay0r commented on GitHub (Jan 21, 2022):

I have the same issue with last update on Win 11

<!-- gh-comment-id:1018055299 --> @ElMay0r commented on GitHub (Jan 21, 2022): I have the same issue with last update on Win 11
Author
Owner

@thany commented on GitHub (Jan 23, 2022):

We can also look at this from a different angle: why does it need .NET 6 in the first place? What was wrong with or lacking in .NET 5?

Can we have an answer to this please?

<!-- gh-comment-id:1019554995 --> @thany commented on GitHub (Jan 23, 2022): > We can also look at this from a different angle: why does it need .NET 6 in the first place? What was wrong with or lacking in .NET 5? Can we have an answer to this please?
Author
Owner

@NickeManarin commented on GitHub (Jan 23, 2022):

ScreenToGif never had a .NET 5 requirement and .NET 6 is LTS.

<!-- gh-comment-id:1019563199 --> @NickeManarin commented on GitHub (Jan 23, 2022): ScreenToGif never had a .NET 5 requirement and .NET 6 is LTS.
Author
Owner

@NickeManarin commented on GitHub (Jan 31, 2022):

Next version will be distributed without the requirement for installing .NET 6 desktop runtime (except if you download the Light package).

<!-- gh-comment-id:1025354172 --> @NickeManarin commented on GitHub (Jan 31, 2022): Next version will be distributed without the requirement for installing .NET 6 desktop runtime (except if you download the Light package).
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#796
No description provided.