Closed
Description
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:
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.
Desktop (please complete the following information):
- OS: Windows 11
- Version: 2.1.18905.20220610
Additional context
Add any other context about the problem here.