Skip to content

Commit

Permalink
Include the "TargetingPack" folder in the mobile apps.
Browse files Browse the repository at this point in the history
Fixes #61322
Fixes #61299
  • Loading branch information
jkoritzinsky committed Nov 10, 2021
1 parent bc9682c commit d4dc931
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/tests/build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
<AssembliesInTestDirs Include="%(AllCMDsPresent.RelativeDir)*.dll" Exclude="@(TestAssemblies)"/>
<RuntimePackLibs Include="$(MicrosoftNetCoreAppRuntimePackDir)lib/**/*.dll" />
<RuntimePackNativeLibs Include="$(MicrosoftNetCoreAppRuntimePackDir)native/**/*.dll;$(MicrosoftNetCoreAppRuntimePackDir)native/**/*.a;$(MicrosoftNetCoreAppRuntimePackDir)native/**/*.so" />
<TestTargetingPathLibs Include="$(TargetingPackPath)/*.dll" />
</ItemGroup>

<Copy
Expand All @@ -233,6 +234,10 @@
SourceFiles="@(RuntimePackLibs)"
DestinationFolder="$(BuildDir)" />

<Copy
SourceFiles="@(TestTargetingPathLibs)"
DestinationFolder="$(BuildDir)" />

<AndroidAppBuilderTask
RuntimeIdentifier="$(RuntimeIdentifier)"
ProjectName="$(Category)"
Expand Down Expand Up @@ -285,6 +290,7 @@
<TestDlls Include="%(TestDllPaths.Identity)" Condition="Exists(%(TestDllPaths.Identity))" />
<AssembliesInTestDirs Include="%(AllCMDsPresent.RelativeDir)*.dll" Exclude="@(TestAssemblies)"/>
<RuntimePackLibs Include="$(MicrosoftNetCoreAppRuntimePackDir)lib/**/*.dll" />
<TestTargetingPathLibs Include="$(TargetingPackPath)/*.dll" />
</ItemGroup>
<ItemGroup>
<ExtraDlls Include="%(TestDlls.RelativeDir)*.dll" Exclude="@(TestDlls)">
Expand All @@ -310,6 +316,10 @@
<Copy
SourceFiles="@(RuntimePackLibs)"
DestinationFolder="$(BuildDir)" />

<Copy
SourceFiles="@(TestTargetingPathLibs)"
DestinationFolder="$(BuildDir)" />
<Copy
SourceFiles="%(TestDlls.Identity)"
DestinationFolder="$(BuildDir)/testdir-%(TestDlls.Filename)" />
Expand Down

0 comments on commit d4dc931

Please sign in to comment.