|
|
|
@@ -187,32 +187,14 @@
|
|
|
|
|
Name="Test"
|
|
|
|
|
DependsOnTargets="Build"></Target>
|
|
|
|
|
|
|
|
|
|
<ItemGroup Condition="Exists('@(NativeWindowsAsset)')">
|
|
|
|
|
<Content Include="@(NativeWindowsAsset)">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
<TargetPath>%(FileName)%(Extension)</TargetPath>
|
|
|
|
|
<Pack>false</Pack>
|
|
|
|
|
</Content>
|
|
|
|
|
<Content Include="@(NativeWindowsAsset)">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
<TargetPath>runtimes/win-x64/native/%(FileName)%(Extension)</TargetPath>
|
|
|
|
|
<Pack>true</Pack>
|
|
|
|
|
<PackagePath>runtimes/win-x64/native</PackagePath>
|
|
|
|
|
</Content>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Target Name="CopyNativeAssetsToOutput" AfterTargets="Build">
|
|
|
|
|
<Copy SourceFiles="@(NativeWindowsAsset)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="True" Condition="Exists('%(NativeWindowsAsset.FullPath)')" />
|
|
|
|
|
<Copy SourceFiles="@(NativeLinuxAsset)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="True" Condition="Exists('%(NativeLinuxAsset.FullPath)')" />
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
<ItemGroup Condition="Exists('@(NativeLinuxAsset)')">
|
|
|
|
|
<Content Include="@(NativeLinuxAsset)">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
<TargetPath>%(FileName)%(Extension)</TargetPath>
|
|
|
|
|
<Pack>false</Pack>
|
|
|
|
|
</Content>
|
|
|
|
|
<Content Include="@(NativeLinuxAsset)">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
<TargetPath>runtimes/linux-x64/native/%(FileName)%(Extension)</TargetPath>
|
|
|
|
|
<Pack>true</Pack>
|
|
|
|
|
<PackagePath>runtimes/linux-x64/native</PackagePath>
|
|
|
|
|
</Content>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Include="@(NativeWindowsAsset)" Condition="Exists('@(NativeWindowsAsset)')" Pack="true" PackagePath="runtimes/win-x64/native/" />
|
|
|
|
|
<None Include="@(NativeLinuxAsset)" Condition="Exists('@(NativeLinuxAsset)')" Pack="true" PackagePath="runtimes/linux-x64/native/" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
</Project>
|