From eed6c2f2243df1293dd6781abaa08d17160b3504 Mon Sep 17 00:00:00 2001 From: Wonyoung Choi Date: Mon, 30 Jul 2018 10:28:57 +0900 Subject: [PATCH] Fix target files for Tizen to use TizenTPKFiles Current temprary hacks for tizen-x86 RID are still needed because the Tizen 4.0 platform including .NETCore 2.0 does not understand the tizen-x86 RID. In this changes, Use TizenTPKFiles defined in Tizen.NET.Sdk instead of Link and CopyToOutputDirectory to solve following problems. - The linked file (runtime/linux-x86/native/foo.so) is displayed in VS Project tree. - The linked file is always copied to tpkroot/bin even when RID is specified. - The linked file can't be excluded using the file excluding features of Tizen.NET.Sdk. --- .../nuget/build/tizen40/HarfBuzzSharp.targets | 15 +++++++-------- .../nuget/build/tizen40/SkiaSharp.targets | 15 +++++++-------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/binding/HarfBuzzSharp.Tizen/nuget/build/tizen40/HarfBuzzSharp.targets b/binding/HarfBuzzSharp.Tizen/nuget/build/tizen40/HarfBuzzSharp.targets index e7c4d68c2e..90e93f7ac7 100644 --- a/binding/HarfBuzzSharp.Tizen/nuget/build/tizen40/HarfBuzzSharp.targets +++ b/binding/HarfBuzzSharp.Tizen/nuget/build/tizen40/HarfBuzzSharp.targets @@ -1,13 +1,12 @@ - - - - tpkroot\bin\runtimes\linux-x86\native\libHarfBuzzSharp.so - PreserveNewest - - + + + + bin\runtimes\linux-x86\native\ + libHarfBuzzSharp.so + + \ No newline at end of file diff --git a/binding/SkiaSharp.Tizen/nuget/build/tizen40/SkiaSharp.targets b/binding/SkiaSharp.Tizen/nuget/build/tizen40/SkiaSharp.targets index 68f198deee..dcff65d261 100644 --- a/binding/SkiaSharp.Tizen/nuget/build/tizen40/SkiaSharp.targets +++ b/binding/SkiaSharp.Tizen/nuget/build/tizen40/SkiaSharp.targets @@ -1,13 +1,12 @@ - - - - tpkroot\bin\runtimes\linux-x86\native\libSkiaSharp.so - PreserveNewest - - + + + + bin\runtimes\linux-x86\native\ + libSkiaSharp.so + + \ No newline at end of file