Skip to content
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

[workloads] Don't load mono librarymode targets if PublishAot is set #103777

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

steveisok
Copy link
Member

This change removes the incorrect error message when using NativeAOT library mode on mobile and you have <NativeLib> set. Previously, it would only detect if <NativeLib> was set and error out if you didn't have the library builder workload installed. That only applies if mono is your target.

This change removes the incorrect error message when you using NativeAOT library mode
on mobile and you have `<NativeLib>` set. Previously, it would only detect if `<NativeLib>` was
set and error out if you didn't install the library builder workload. That only applies if mono
is your target.
Copy link
Contributor

Tagging subscribers to this area: @directhex, @matouskozak
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@ivanpovazan ivanpovazan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@steveisok, as we are getting closer to remove the experimental flag from this feature, I think we should consider adding some E2E tests in dotnet/sdk to validate the behaviour. I can open a tracking issue for it if you agree?

@steveisok steveisok merged commit 65ef110 into dotnet:main Jun 21, 2024
23 checks passed
@steveisok
Copy link
Member Author

/backport to release/8.0-staging

Copy link
Contributor

Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/9614699845

@steveisok
Copy link
Member Author

LGTM, thanks!

@steveisok, as we are getting closer to remove the experimental flag from this feature, I think we should consider adding some E2E tests in dotnet/sdk to validate the behaviour. I can open a tracking issue for it if you agree?

yeah, I think that's fine.

rzikm pushed a commit to rzikm/dotnet-runtime that referenced this pull request Jun 24, 2024
…otnet#103777)

This change removes the incorrect error message when you using NativeAOT library mode
on mobile and you have `<NativeLib>` set. Previously, it would only detect if `<NativeLib>` was
set and error out if you didn't install the library builder workload. That only applies if mono
is your target.
@JCash JCash mentioned this pull request Jun 25, 2024
8 tasks
@ivanpovazan
Copy link
Member

Opened dotnet/sdk#42064 for tracking

@JCash
Copy link

JCash commented Jul 16, 2024

Hi!
I kind of expected this to land in the DotNet 9 preview 6 version, but it seems it didn't make it?
WIll it be part of the preview 7 then?

@akoeplinger
Copy link
Member

Yes this will be part of preview7

@github-actions github-actions bot locked and limited conversation to collaborators Aug 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants