diff --git a/build/Program.fs b/build/Program.fs index 664c9b86..13aadfb8 100644 --- a/build/Program.fs +++ b/build/Program.fs @@ -68,6 +68,11 @@ let init args = "." |> ignore + let testTFM tfm = + exec "dotnet" $"run --framework {tfm} -c Release --project .\\test\\Ionide.ProjInfo.Tests\\Ionide.ProjInfo.Tests.fsproj" "." + |> ignore + + Target.create "Test" DoNothing Target.create "Test:net6.0" (fun _ -> testTFM "net6.0") diff --git a/test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj b/test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj index d45b0acf..63694dff 100644 --- a/test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj +++ b/test/Ionide.ProjInfo.Tests/Ionide.ProjInfo.Tests.fsproj @@ -2,8 +2,8 @@ Exe - net6.0 - $(TargetFrameworks);net7.0 + net7.0 + net7.0 false true false