From 269f0ea438c66497a689dd767fabb42f6fdf5d72 Mon Sep 17 00:00:00 2001 From: GraceSolutions Date: Wed, 3 Jun 2026 17:02:10 -0400 Subject: [PATCH] Tests: roll forward to latest major .NET runtime Adds LatestMajor to the test project so the net8.0 testhost can run on hosts that only have a newer .NET runtime installed (e.g. CI hosts with .NET 10 only). Locally with .NET 8 present this is a no-op; on the runner with .NET 10.0.8 the testhost will roll forward instead of aborting with 'You must install or update .NET to run this application'. --- src/PSInfisicalAPI.Tests/PSInfisicalAPI.Tests.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PSInfisicalAPI.Tests/PSInfisicalAPI.Tests.csproj b/src/PSInfisicalAPI.Tests/PSInfisicalAPI.Tests.csproj index 80f740d..c602801 100644 --- a/src/PSInfisicalAPI.Tests/PSInfisicalAPI.Tests.csproj +++ b/src/PSInfisicalAPI.Tests/PSInfisicalAPI.Tests.csproj @@ -2,6 +2,7 @@ net8.0 + LatestMajor 9.0 false PSInfisicalAPI.Tests