mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 23:25:52 +03:00
[GH-ISSUE #1380] [Feature Request] Consider enabling <RollForward>major</RollForward> for ScreenToGif.exe #3623
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#3623
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nil4 on GitHub (Mar 23, 2025).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1380
Originally assigned to: @NickeManarin on GitHub.
Is your feature request related to a problem? Please describe.
ScreenToGif currently targets
net8.0:github.com/NickeManarin/ScreenToGif@998e61923b/ScreenToGif/ScreenToGif.csproj (L3)Trying to start
ScreenToGif.exeon a machine where a later version (e.g. .NET 9) is installed, but .NET 8.x is not installed, currently fails. The rather unfortunate "You must install or update .NET to run this application" dialog appears and the program is blocked from launching:Describe the solution you'd like
Consider adding
<RollForward>major</RollForward>toScreenToGif.csprojso that future releases do not need this workaround, and ScreenToGif.exe starts on .NET 8 or any later major versions out of the box.ref. https://learn.microsoft.com/en-us/dotnet/core/versions/selection#control-roll-forward-behavior
Describe alternatives you've considered
End-users can resort to a rather clunky, but working, workaround -- define a batch file to set the roll-forward policy via an environment variable, e.g.
This solves the issue of launching correctly with a later .NET runtime available, but should not be necessary if the roll-forward policy is defined in the project file. Doing that would allow
ScreenToGif.exeto start on .NET 8, 9 or any later version.Additional context
ref. https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#rollforward