[Feature Request] Consider enabling <RollForward>major</RollForward>
for ScreenToGif.exe
#1380
Labels
🔷Enhancement
Type • Improvements for the software.
⬜ Pending
Status • This issue stills needs to be analyzed.
Is your feature request related to a problem? Please describe.
ScreenToGif currently targets
net8.0
:ScreenToGif/ScreenToGif/ScreenToGif.csproj
Line 3 in 998e619
Trying to start
ScreenToGif.exe
on 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>
toILSpy.csproj
so that future releases do not need this workaround, and ILSpy 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.exe
to 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
The text was updated successfully, but these errors were encountered: