From 8c820c2c60e695c5be22f5525e687b721c96a859 Mon Sep 17 00:00:00 2001 From: Emik Date: Sat, 9 May 2026 08:40:46 +0200 Subject: [PATCH] Add support for macOS/Linux/anything that can run a .NET 9 Console Application (#22) * Enforce .NET 9 SDK targeting * Add compatibility for macOS/Linux --- UnConfuserEx/Protections/Constants/X86Resolver.cs | 1 - UnConfuserEx/UnConfuserEx.csproj | 4 +--- global.json | 7 +++++++ 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 global.json diff --git a/UnConfuserEx/Protections/Constants/X86Resolver.cs b/UnConfuserEx/Protections/Constants/X86Resolver.cs index 1318032..a7bfdb2 100644 --- a/UnConfuserEx/Protections/Constants/X86Resolver.cs +++ b/UnConfuserEx/Protections/Constants/X86Resolver.cs @@ -3,7 +3,6 @@ using dnlib.DotNet.Emit; using log4net; using System; using System.Collections.Generic; -using System.Windows.Forms; using X86Emulator; namespace UnConfuserEx.Protections.Constants diff --git a/UnConfuserEx/UnConfuserEx.csproj b/UnConfuserEx/UnConfuserEx.csproj index c84b983..0d65137 100644 --- a/UnConfuserEx/UnConfuserEx.csproj +++ b/UnConfuserEx/UnConfuserEx.csproj @@ -2,11 +2,9 @@ Exe - net9.0-windows10.0.17763.0 + net9.0 enable - True True - 10.0.17763.0 diff --git a/global.json b/global.json new file mode 100644 index 0000000..a52d00a --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "9.0.100", + "rollForward": "major", + "allowPrerelease": true + } +} \ No newline at end of file