From 391c5ba980cafa8f4db22b11fb8ca312afee32ae Mon Sep 17 00:00:00 2001 From: Felipe Machado Date: Wed, 17 Sep 2025 17:19:15 -0300 Subject: [PATCH] fixes #4 : targeting non windows specif frameworks Targeting windows specific frameworks (net8.0-windows) causes projects that target platform independent frameworks (net8.0) to link the NET FRAMEWORK 4.8 version of the library, and run under the v4 runtime! Changing the lib to multitarget platform agnostic frameworks prevents this. Removed deprecated net7.0 target --- src/FluentSysInfoCore/FluentSysInfo.Core.csproj | 2 +- src/FluentSysInfoCoreTest/FluentSysInfoCoreTest.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FluentSysInfoCore/FluentSysInfo.Core.csproj b/src/FluentSysInfoCore/FluentSysInfo.Core.csproj index a07c11e..58ade6a 100644 --- a/src/FluentSysInfoCore/FluentSysInfo.Core.csproj +++ b/src/FluentSysInfoCore/FluentSysInfo.Core.csproj @@ -2,7 +2,7 @@ - net48;net6.0-windows;net7.0-windows;net8.0-windows + net48;net6.0;net8.0;net9.0 false true false diff --git a/src/FluentSysInfoCoreTest/FluentSysInfoCoreTest.csproj b/src/FluentSysInfoCoreTest/FluentSysInfoCoreTest.csproj index a36e9bf..9877f10 100644 --- a/src/FluentSysInfoCoreTest/FluentSysInfoCoreTest.csproj +++ b/src/FluentSysInfoCoreTest/FluentSysInfoCoreTest.csproj @@ -2,7 +2,7 @@ Exe - net48;net6.0-windows;net7.0-windows;net8.0-windows + net48;net6.0;net8.0;net9.0 false false AnyCPU