Skip to content

Commit

Permalink
fixup fsirefs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Nov 14, 2024
1 parent 31a2922 commit 65dbf25
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/Ionide.ProjInfo.ProjectSystem/FSIRefs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,21 @@ let tfmForRuntime =
let netcore5 = Version(5, 0, 100, "")
let netcore6 = Version(6, 0, 100, "")
let netcore7 = Version(7, 0, 100, "")
let netcore8 = Version(8, 0, 100, "")
let netcore9 = Version(9, 0, 100, "")

fun (sdkVersion: Version) ->

if
netcore9
<= sdkVersion
then
"net9.0"
else if
netcore8
<= sdkVersion
then
"net7.0"
else if
netcore7
<= sdkVersion
then
Expand Down

0 comments on commit 65dbf25

Please sign in to comment.