Skip to content

Commit 0af5ccc

Browse files
committed
Try setting RollForward on FSharpLint.Console to latestMajor
refs #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 #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).
1 parent d78771c commit 0af5ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpLint.Console/FSharpLint.Console.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<AssemblyName>dotnet-fsharplint</AssemblyName>
1313
<RootNamespace>FSharpLint.Console</RootNamespace>
1414
<IsPackable>true</IsPackable>
15-
<RollForward>Major</RollForward>
15+
<RollForward>latestMajor</RollForward>
1616
</PropertyGroup>
1717

1818
<ItemGroup>

0 commit comments

Comments
 (0)