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

Improve resolving runtime pack in WasmApp targets #55258

Merged
merged 2 commits into from
Jul 13, 2021

Conversation

akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Jul 7, 2021

Use similar logic to eng/targetingpacks.targets in WasmApp.InTree.targets and WasmApp.LocalBuild.targets.

Also set UseMonoRuntime=true to make sure we get the Mono-based runtime pack.

@ghost
Copy link

ghost commented Jul 7, 2021

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

Issue Details

Import targetingpacks.targets in WasmApp.InTree.targets and use similar logic in WasmApp.LocalBuild.targets.

Also set EnableRuntimePackDownload=false in targetingpacks.targets instead of manually messing with the PackageDownload items since this property can be used now.

Author: akoeplinger
Assignees: -
Labels:

area-Infrastructure-mono

Milestone: -

@SamMonoRT SamMonoRT requested review from lewing and radical July 7, 2021 13:16
Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

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

The targetingpack.targets changes LGTM. Seems like there are some other build failures though.

@akoeplinger akoeplinger force-pushed the wasm-runtimepack branch 2 times, most recently from a725f4d to 7c31a55 Compare July 8, 2021 10:59
@akoeplinger
Copy link
Member Author

Had to take out the EnableRuntimePackDownload=false change since it caused ResolvedRuntimePack to not be populated so overriding it didn't work anymore.

Import targetingpacks.targets in WasmApp.InTree.targets and use similar logic in WasmApp.LocalBuild.targets.
@akoeplinger akoeplinger merged commit b2a670b into dotnet:main Jul 13, 2021
@akoeplinger akoeplinger deleted the wasm-runtimepack branch July 13, 2021 15:12
@ghost ghost locked as resolved and limited conversation to collaborators Aug 12, 2021
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.

2 participants