New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish NativeAOT failed with .NET 9 #15646
Comments
@MrJul should we add an sdk check in the InjectIlcAvaloniaXamlOutput target? |
We can probably add |
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: