Skip to content

Avalonia build fails on Windows arm64 #20853

@kirb

Description

@kirb

Describe the bug

It is currently not possible to build the master branch on an arm64 install of Windows 11, because Bun.Unofficial.Tool does not have a win-arm64 build:

[ERR] InitDnx: The tool does not support the current architecture or operating system (win-arm64). Supported runtimes: win-x64 linux-x64 osx-arm64 osx-x64

This also prevents Avalonia from building in Visual Studio.

To Reproduce

  1. Get Windows 11 arm64 somehow (Qualcomm laptop, or Parallels/UTM on Apple Silicon)
  2. Install Bun from https://bun.sh
  3. Run nuke Compile
  4. In Visual Studio, set startup project to ControlCatalog.Desktop and click Run

Expected behavior

Bun is installed from another package that has a win-arm64 build, or the build finds bun.exe already in PATH.

Avalonia version

master (tested f13bfe6)

OS

Windows

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions