From b6dc58164e3c978aaaa37a50dba3452b367a8bcf Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Tue, 28 Jan 2025 08:04:59 +0000 Subject: [PATCH] don't run net48 on non-windows --- SharpCompress.sln | 1 + build/Program.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SharpCompress.sln b/SharpCompress.sln index ab4995b1..a86d1652 100644 --- a/SharpCompress.sln +++ b/SharpCompress.sln @@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Config", "Config", "{CDB425 .editorconfig = .editorconfig Directory.Packages.props = Directory.Packages.props NuGet.config = NuGet.config + .github\workflows\dotnetcore.yml = .github\workflows\dotnetcore.yml EndProjectSection EndProject Global diff --git a/build/Program.cs b/build/Program.cs index e721f468..39acd0c0 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -69,7 +69,7 @@ Target( return Glob.Files(".", d); } - if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && framework == "net462") + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && framework == "net48") { return; }