Skip to content

Commit 217eb71

Browse files
committed
misc: fix android plugin generation
1 parent f3de783 commit 217eb71

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

VisualPinball.Engine.PinMAME/VisualPinball.Engine.PinMAME.csproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,17 @@
2424
-->
2525
</ItemGroup>
2626
<Target Name="PluginsDeploy" AfterTargets="AfterBuild">
27+
<ItemGroup Condition="'$(RuntimeIdentifier)' != 'ios-arm64' And '$(RuntimeIdentifier)' != 'android-arm64-v8a'">
28+
<Plugins Include="$(OutDir)PinMame.dll" />
29+
</ItemGroup>
30+
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'ios-arm64'">
31+
<Plugins Include="$(NuGetPackageRoot)\pinmame\0.2.0-preview.5\runtimes\ios\lib\netstandard2.1\PinMame.dll" />
32+
</ItemGroup>
33+
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'android-arm64-v8a'">
34+
<Plugins Include="$(NuGetPackageRoot)\pinmame\0.2.0-preview.5\runtimes\android\lib\netstandard2.1\PinMame.dll" />
35+
</ItemGroup>
2736
<ItemGroup>
2837
<Plugins Include="$(OutDir)$(AssemblyName).dll" />
29-
<Plugins Include="$(OutDir)PinMame.dll" />
3038
<Plugins Include="$(NuGetPackageRoot)\pinmame.native.$(RuntimeIdentifier)\3.5.0-preview.14\runtimes\$(RuntimeIdentifier)\native\*" />
3139
</ItemGroup>
3240
<Message Text="PluginsDeploy: @(Plugins)" />

0 commit comments

Comments
 (0)