Skip to content

Avalonia.Angle.Windows.Natives has the incorrect targets published #9359

Closed
@hez2010

Description

@hez2010

Describe the bug
Avalonia.Angle.Windows.Natives has the incorrect targets published.

To Reproduce

See the msbuild binlog while resolving files to copy to the publish directory:

image

Expected behavior
The x86 and x64 version of av_libglesv2.dll should be placed under win-x86 and win-x64 targets, instead of win7-x86 and win7-x64, responsively. Otherwise, while using win-x86 or win-x64 as RID for dotnet publish, it will fail to resolve the av_libglesv2.dll and will not copy it to the publish directory, which caused angle failed to load, unless the user set RID to win7-x86 or win7-x64 specifically.

image

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: 2.1.18905.20220610

Additional context
Add any other context about the problem here.

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