-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Change MonoAotCrossCompiler property into ItemGroup in installer project #53653
Comments
Tagging subscribers to this area: @directhex Issue DetailsAs of right now, we are including a runtime/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.Sdk.props Lines 3 to 4 in d11fa45
This creates a problem in the Mono workload because we import more than 1 for Android and iOS: runtime/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Manifest/WorkloadManifest.targets Lines 13 to 18 in d11fa45
To solve the problem, we should change into an ItemGroup and include the architecture. The consumers of the pack will need to pick which item to select. Example:
/cc @lewing @radical @akoeplinger
|
Fixes dotnet#53653 Example: ``` sudo cat Sdk/Sdk.props <Project> <ItemGroup> <MonoAotCrossCompilerPath Include="$(MSBuildThisFileDirectory)..\tools\mono-aot-cross" RuntimeIdentifier="iossimulator-arm64" /> </ItemGroup> </Project> ```
* Create Sdk.props in AOT compilers with a template Fixes #53653 Example: ``` sudo cat Sdk/Sdk.props <Project> <ItemGroup> <MonoAotCrossCompilerPath Include="$(MSBuildThisFileDirectory)..\tools\mono-aot-cross" RuntimeIdentifier="iossimulator-arm64" /> </ItemGroup> </Project> ```
As of right now, we are including a
MonoAotCrossCompilerPath
property in each of the packs we ship.runtime/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.Sdk.props
Lines 3 to 4 in d11fa45
This creates a problem in the Mono workload because we import more than 1 for Android and iOS:
runtime/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Manifest/WorkloadManifest.targets
Lines 13 to 18 in d11fa45
To solve the problem, we should change into an ItemGroup and include the architecture. The consumers of the pack will need to pick which item to select.
Example:
/cc @lewing @radical @akoeplinger
The text was updated successfully, but these errors were encountered: