-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Run ILC after ComputeResolvedFilesToPublishList #111514
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
base: main
Are you sure you want to change the base?
Changes from all commits
046f6d2
b7b6f94
a033e38
bcb04b2
c9e0880
4d3b758
c9b8250
d775826
d72cd65
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,7 @@ | |
| $(_ProcessRuntimeComponentsForLibraryMode); | ||
| $(_AotCompileTargetName); | ||
| _BuildNativeLibrary; | ||
| _PublishNativeBinary; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove this change, see my comment below. |
||
| _AppleGenerateAppBundle; | ||
| _AfterAppleBuild | ||
| </AppleBuildDependsOn> | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -46,6 +46,17 @@ | |||
| </LibraryBuilderTask> | ||||
| </Target> | ||||
|
|
||||
| <Target Name="_PublishNativeBinary"> | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we should put this target here.
If I understand correctly, you added this target so that NativeAOT library mode has the previous If that is the case, then I would:
This way it does not affect: Mono app or lib builds, and it does not affect NativeAOT app builds. We will eventually clean all of this up in the internal props/targets as we now have experimental CoreCLR support for Apple as well. |
||||
|
|
||||
| <ItemGroup> | ||||
| <_NativeBinaryFiles Include="@(IntermediateAssembly->'$(NativeOutputPath)%(Filename)$(NativeBinaryExt)')" /> | ||||
| </ItemGroup> | ||||
|
|
||||
| <Copy SourceFiles="@(_NativeBinaryFiles)" | ||||
|
Check failure on line 55 in src/mono/msbuild/common/LibraryBuilder.targets
|
||||
| DestinationFolder="$(OriginalPublishDir)" /> | ||||
|
|
||||
| </Target> | ||||
|
|
||||
| <Target Name="_GenerateBundle" | ||||
| Condition="'$(BundlesResources)' != 'false'"> | ||||
| <PropertyGroup> | ||||
|
|
||||
Uh oh!
There was an error while loading. Please reload this page.