You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build avalonia(version: 11.1.0-beta1) with .NET 9 is ok.
build avalonia(version: 11.1.0-beta2) with .NET 9 is failed.
build avalonia(version: 11.1.0-beta1) with .NET 8 is ok, but run failed.
build avalonia(version: 11.1.0-beta2) with .NET 8 is ok.
We can probably add <ManagedBinary Remove="@(_AvaloniaXamlCompiledAssembly)" /> before <ManagedBinary Include="@(_AvaloniaXamlCompiledAssembly)" /> (as long as SDK doesn't set any item properties)
Both would work, but my preference goes to checking the SDK version, as the workaround shouldn't be needed anymore (and should be removed down the road). I think it's better than maintaining a hack for several different SDK versions :)
Describe the bug
publish aot failed with .NET 9 and 11.1.0-beta2.
To Reproduce
Expected behavior
publish nativeaot with .NET 9 successfully.
Avalonia version
11.1.0-beta2
OS
Windows
Additional context
sample repo: https://github.com/noliar/AvaloniaTest
github action results: https://github.com/noliar/AvaloniaTest/actions/runs/8987494959
build avalonia(version: 11.1.0-beta1) with .NET 9 is ok.
build avalonia(version: 11.1.0-beta2) with .NET 9 is failed.
build avalonia(version: 11.1.0-beta1) with .NET 8 is ok, but run failed.
build avalonia(version: 11.1.0-beta2) with .NET 8 is ok.
related: #14966
The text was updated successfully, but these errors were encountered: