Repository navigation
Reject OpenHarmony in NativeAotSupported.props - #17723
Merged
akoeplinger merged 1 commit intoOct 26, 2026
Merged
Conversation
springmin
pushed a commit
to springmin/aspnetcore-ohos
that referenced
this pull request
Oct 25, 2026
Import NativeAotSupported.props in the testassets Directory.Build.props, gate the E2E PublishAot on the property, and skip the NativeAOT E2E test project when the target does not support NativeAOT. The root override remains temporary until dotnet/arcade#17723 flows.
akoeplinger
approved these changes
Oct 26, 2026
springmin
pushed a commit
to springmin/aspnetcore-ohos
that referenced
this pull request
Oct 29, 2026
Import NativeAotSupported.props in the testassets Directory.Build.props, gate the E2E PublishAot on the property, and skip the NativeAOT E2E test project when the target does not support NativeAOT. The root override remains temporary until dotnet/arcade#17723 flows.
springmin
pushed a commit
to springmin/aspnetcore-ohos
that referenced
this pull request
Nov 6, 2026
Import NativeAotSupported.props in the testassets Directory.Build.props, gate the E2E PublishAot on the property, and skip the NativeAOT E2E test project when the target does not support NativeAOT. The root override remains temporary until dotnet/arcade#17723 flows.
akoeplinger
pushed a commit
to dotnet/aspnetcore
that referenced
this pull request
Nov 9, 2026
…#69952) * Add the openharmony RIDs and skip repo-side NativeAOT for openharmony - Directory.Build.props: add openharmony-x64/arm64 to the shared-framework supported RIDs, and set NativeAotSupported=false for openharmony: the repo's bundled tools and E2E AOT harnesses do not have the OpenHarmony cross-AOT toolchain wired up. This does not affect user AOT publishing, which uses the runtime ILCompiler pack. - Directory.Packages.props: add the openharmony runtime and crossgen2 packages to the explicit runtime package list. - src/Tools/Directory.Build.props: add the openharmony RIDs to the bundled tool RIDs. - The E2E NativeAOT harnesses skip PublishAot for openharmony. * Do not target openharmony RIDs in the bundled tools yet * Retrigger CI (infrastructure failures) * openharmony: use NativeAotSupported for the AOT test assets Import NativeAotSupported.props in the testassets Directory.Build.props, gate the E2E PublishAot on the property, and skip the NativeAOT E2E test project when the target does not support NativeAOT. The root override remains temporary until dotnet/arcade#17723 flows. * openharmony: skip the AOT harness apps when NativeAOT is unsupported * Remove temporary openharmony NativeAotSupported override --------- Co-authored-by: springsources <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NativeAotSupported.propsrejects haiku, illumos, netbsd and solaris, but not openharmony. OpenHarmony has no cross-AOT toolchain, so consumers currently hardcodeNativeAotSupported=falsein their rootDirectory.Build.props(runtime, sdk, aspnetcore).Add openharmony to the unsupported OS list so the property flows from Arcade and the local workarounds can be removed.
Follow-up to #17608 (OpenHarmony support in
eng/common).Note
This PR was drafted with AI assistance (agent tooling) under the author's direction.