Skip to content

WOA平台上程序无法启动 #1638

Description

@diann34

检查清单

  • 我已更新到最新版 最新的版本号最新的版本号 测试,并看过 最新提交,确认这一 Bug 还没有修复。我也已在 Issues 中检索,确认这一 Bug 未被提交过,并且在 常见问题 中没有解决方案。
  • 我已经仔细阅读过选项里的内容,并且知道这个选项不用勾选。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题(关于其他非程序本身的问题应当在 Discussion 板块提出)。

期望的行为

程序正常启动

实际结果

程序静默崩溃

重现步骤

在Macbook Air M4上,使用VMware Fusion搭建了Windows 11 On Arm(build 26200.7623)开发环境

截图/录屏(可选,建议)

Image

堆栈跟踪(可选)

HarmonyLib.HarmonyException
  HResult=0x80131500
  Message=Patching exception in method System.Void FluentAvalonia.UI.Windowing.AppWindow::InitializeAppWindow()
  Source=0Harmony
  StackTrace:
   在 HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
   在 HarmonyLib.PatchClassProcessor.Patch()
   在 HarmonyLib.Harmony.<PatchAll>b__10_1(Type type)
   在 HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
   在 HarmonyLib.CollectionExtensions.DoIf[T](IEnumerable`1 sequence, Func`2 condition, Action`1 action)
   在 HarmonyLib.Harmony.PatchAll(Assembly assembly)
HarmonyLib.Harmony.PatchAll()
ClassIsland.Platform.Windows.PatcherEntrance.InstallPatchers() 在 C:\Users\diann\Desktop\ClassIsland\platforms\ClassIsland.Platforms.Windows\PatcherEntrance.cs 中: 第 10 行
   在 ClassIsland.Desktop.Program.ActivatePlatforms(Action& postInitCallback, CancellationToken stopToken) 在 C:\Users\diann\Desktop\ClassIsland\ClassIsland.Desktop\Program.cs 中: 第 114 行
   在 ClassIsland.Desktop.Program.Main(String[] args) 在 C:\Users\diann\Desktop\ClassIsland\ClassIsland.Desktop\Program.cs 中: 第 41 行

  此异常最初是在此调用堆栈中引发的: 
    [外部代码]

内部异常 1:
PlatformNotSupportedException: The runtime's Abi field is not set, and is unusable (MonoMod.Core.Platforms.Runtimes.Core80Runtime)

诊断信息

SystemOsVersion: Microsoft Windows 10.0.26200
SystemOsArch: Arm64
SystemDeviceName: VMware20,1
SystemDeviceVendor: VMware, Inc.
AppPackageRoot: ./
AppRoot: ./
AppCurrentDirectory: C:\Users\diann\Desktop\ClassIsland\ClassIsland.Desktop\bin\Debug\net8.0-windows10.0.19041.0
AppExecutingEntrance: C:\Users\diann\Desktop\ClassIsland\ClassIsland.Desktop\bin\Debug\net8.0-windows10.0.19041.0\ClassIsland.Desktop.exe
AppCurrentMemoryUsage: 380.09 MiB(398553088 Bytes)
AppStartupDurationMs: 4050
AppVersion: 1.6.1.0-LiliyaOlenyeva-c81b2ff(master) (Core 2.0.0.0)
AppSubChannel: windows_unknown_full_folderClassic
AppLoadedPlugin: 
AppIsAssetsTrimmed: False
DiagnosticFirstLaunchTime: 2026/2/2 16:09:34
DiagnosticStartupCount: 3
DiagnosticMemoryKillCount: 0
DiagnosticLastMemoryKillTime: 2026/2/2 16:09:34
DiagnosticMemoryKillFreqDay: 0.000

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug在使用 ClassIsland 的过程中遇到了 Bug优先级:无短期内不会计划完成的事项待查看等待开发者查看此 Issue

    Type

    Fields

    开发周期

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions