diff --git a/DebugAdapter/UIX.DebugAdapter.Client/UIX.DebugAdapter.Client.csproj b/DebugAdapter/UIX.DebugAdapter.Client/UIX.DebugAdapter.Client.csproj index c0f216f..85e6d91 100644 --- a/DebugAdapter/UIX.DebugAdapter.Client/UIX.DebugAdapter.Client.csproj +++ b/DebugAdapter/UIX.DebugAdapter.Client/UIX.DebugAdapter.Client.csproj @@ -1,8 +1,6 @@  - net461;net6.0;net6.0-windows10.0.22000 - 12 Microsoft.Iris.DebugAdapter.Client diff --git a/DebugAdapter/UIX.DebugAdapter.Server/UIX.DebugAdapter.Server.csproj b/DebugAdapter/UIX.DebugAdapter.Server/UIX.DebugAdapter.Server.csproj index 5a0072b..12c2926 100644 --- a/DebugAdapter/UIX.DebugAdapter.Server/UIX.DebugAdapter.Server.csproj +++ b/DebugAdapter/UIX.DebugAdapter.Server/UIX.DebugAdapter.Server.csproj @@ -1,8 +1,6 @@  - net461;net6.0;net6.0-windows10.0.22000 - 12 enable Microsoft.Iris.DebugAdapter.Server diff --git a/DebugAdapter/UIX.DebugAdapter.Shared/UIX.DebugAdapter.Shared.csproj b/DebugAdapter/UIX.DebugAdapter.Shared/UIX.DebugAdapter.Shared.csproj index ebd1bbb..487b9ca 100644 --- a/DebugAdapter/UIX.DebugAdapter.Shared/UIX.DebugAdapter.Shared.csproj +++ b/DebugAdapter/UIX.DebugAdapter.Shared/UIX.DebugAdapter.Shared.csproj @@ -1,8 +1,6 @@  - net461;net6.0;net6.0-windows10.0.22000 - 12 enable Microsoft.Iris.DebugAdapter diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..7289ab3 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,50 @@ + + + + Debug + x64 + 5.0.0.0 + $(ApplicationVersion) + $(ApplicationVersion) + latest + + $(DefineConstants);OPENZUNE + + net8.0 + $(NetCoreTarget) + AnyCPU;x64;x86 + + + + $(TargetFrameworks);$(NetCoreTarget)-windows10.0.22000;net48 + + + + + + $(DefineConstants);WINDOWS + $([MSBuild]::GetTargetPlatformVersion($(TargetFramework))) + + + $(DefineConstants);WINDOWS7 + + + $(DefineConstants);WINDOWS8 + + + $(DefineConstants);WINDOWS10 + + + + + + + $(DefineConstants);WINDOWS + + + $(DefineConstants);NETSTANDARD1_0_OR_GREATER;NETSTANDARD2_0_OR_GREATER + + + + + \ No newline at end of file diff --git a/UIXC/UIXC.csproj b/UIXC/UIXC.csproj index f4fc7e7..fb30c73 100644 --- a/UIXC/UIXC.csproj +++ b/UIXC/UIXC.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + $(NetCoreTarget) enable enable diff --git a/libs/MicrosoftIris b/libs/MicrosoftIris index cbb1eeb..ea3594c 160000 --- a/libs/MicrosoftIris +++ b/libs/MicrosoftIris @@ -1 +1 @@ -Subproject commit cbb1eeb2bf261b98ae4d4a95af41d069fa06af05 +Subproject commit ea3594c06551338de9f66285a90ec52531bb2b98 diff --git a/libs/UIX.Asm/UIX.Asm.csproj b/libs/UIX.Asm/UIX.Asm.csproj index e17d950..8986c36 100644 --- a/libs/UIX.Asm/UIX.Asm.csproj +++ b/libs/UIX.Asm/UIX.Asm.csproj @@ -1,11 +1,10 @@  - netstandard2.0;net6.0 - 12 + $(NetCoreTarget) true Microsoft.Iris.Asm - 0.0.2-beta + 0.0.3-beta $(DefaultNamespace) Joshua Askharoun @@ -13,7 +12,7 @@ An Assembly-like language for the compiled Microsoft Iris UI format. $(PublishRepositoryUrl) Zune, Iris, UIX, UIB - 2024 + 2026 https://github.com/ZuneDev/ZuneUIXTools diff --git a/libs/UIX.DecompXml/Decompiler.Script.cs b/libs/UIX.DecompXml/Decompiler.Script.cs index b1077c2..392688e 100644 --- a/libs/UIX.DecompXml/Decompiler.Script.cs +++ b/libs/UIX.DecompXml/Decompiler.Script.cs @@ -273,9 +273,9 @@ partial class Decompiler if (opCode is OpCode.JumpIfFalse) { // JMPF is used to evaluate the branch condition - var ifBlockEndOffset = methodBody + var ifBlockEndOffset = methodBody.AsEnumerable() .Reverse() - .SkipWhile(i => i.Offset >= jumpToOffset) + .SkipWhile(i2 => i2.Offset >= jumpToOffset) .First() .Offset; @@ -330,9 +330,9 @@ partial class Decompiler // End of if block, skipping over else block // Figure out where the else block ends by searching for the last instruction we skip - var elseBlockEndOffset = methodBody + var elseBlockEndOffset = methodBody.AsEnumerable() .Reverse() - .SkipWhile(i => i.Offset >= jumpOffset) + .SkipWhile(i2 => i2.Offset >= jumpOffset) .First() .Offset; diff --git a/libs/UIX.DecompXml/UIX.DecompXml.csproj b/libs/UIX.DecompXml/UIX.DecompXml.csproj index 01f523b..aa78ba2 100644 --- a/libs/UIX.DecompXml/UIX.DecompXml.csproj +++ b/libs/UIX.DecompXml/UIX.DecompXml.csproj @@ -1,8 +1,7 @@  - netstandard2.0;net8.0 - 12 + $(NetCoreTarget) Microsoft.Iris.DecompXml diff --git a/libs/UIX.Test/UIX.Test.csproj b/libs/UIX.Test/UIX.Test.csproj index e9647c3..31b3b81 100644 --- a/libs/UIX.Test/UIX.Test.csproj +++ b/libs/UIX.Test/UIX.Test.csproj @@ -1,7 +1,7 @@  - net8.0 + $(NetCoreTarget) enable enable