Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eng
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2021-07-13 18:12:28 +0300
committerGitHub <noreply@github.com>2021-07-13 18:12:28 +0300
commitb2a670b5421af99edad62f8cb5ae172cd8d05030 (patch)
tree3a64521d1cf125f1ec5d714f014219015b7c62e8 /eng
parent53db2ec476e4b3b47168a1bd93f29351b5df23bd (diff)
Improve resolving runtime pack in WasmApp targets (#55258)
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.
Diffstat (limited to 'eng')
-rw-r--r--eng/targetingpacks.targets3
1 files changed, 2 insertions, 1 deletions
diff --git a/eng/targetingpacks.targets b/eng/targetingpacks.targets
index f80b26fb984..0f44b205eb6 100644
--- a/eng/targetingpacks.targets
+++ b/eng/targetingpacks.targets
@@ -11,6 +11,7 @@
<Project>
<PropertyGroup>
<LocalFrameworkOverrideName>$(MicrosoftNetCoreAppFrameworkName)</LocalFrameworkOverrideName>
+ <TargetingpacksTargetsImported>true</TargetingpacksTargetsImported>
</PropertyGroup>
<PropertyGroup Condition="'$(DisableImplicitFrameworkReferences)' != 'true' and
@@ -103,7 +104,7 @@
</ItemGroup>
</Target>
- <!-- Use local targeting pack for NetCoreAppCurrent. -->
+ <!-- Use local targeting/runtime pack for NetCoreAppCurrent. -->
<Target Name="UpdateTargetingAndRuntimePack"
Condition="'$(UseLocalTargetingRuntimePack)' == 'true'"
AfterTargets="ResolveFrameworkReferences">