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
This commit is contained in:
Emik
2026-05-09 08:40:46 +02:00
committed by GitHub
parent aab3d59599
commit 8c820c2c60
3 changed files with 8 additions and 4 deletions
@@ -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
+1 -3
View File
@@ -2,11 +2,9 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0-windows10.0.17763.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>True</UseWindowsForms>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<SupportedOSPlatformVersion>10.0.17763.0</SupportedOSPlatformVersion>
</PropertyGroup>
<ItemGroup>
+7
View File
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "9.0.100",
"rollForward": "major",
"allowPrerelease": true
}
}