Skip to content

Commit

Permalink
Try setting RollForward on FSharpLint.Console to latestMajor
Browse files Browse the repository at this point in the history
refs fsprojects#687, whereby it appears to not be able to process .NET 7 or 8 projects when running on .NET 6, and always using the latest version seems to help.

It looks like the current roll foward behaviour was added for fsprojects#519 to fix issues where only a newer version than the tool was built with is available, but this change would make it just use the latest all the time (so for example, if you have 6 and 8 installed, then it will use 8 all the time).
  • Loading branch information
Numpsy committed Mar 14, 2024
1 parent ee4ecfb commit efdec82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharpLint.Console/FSharpLint.Console.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<AssemblyName>dotnet-fsharplint</AssemblyName>
<RootNamespace>FSharpLint.Console</RootNamespace>
<IsPackable>true</IsPackable>
<RollForward>Major</RollForward>
<RollForward>latestMajor</RollForward>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit efdec82

Please sign in to comment.