Revert "[TFM] Update TizenFX TFM to net6.0 (#5360)" (#5436)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / Tizen.NUI.csproj
index 006c8f1..8f6d799 100755 (executable)
@@ -1,32 +1,44 @@
-<Project Sdk="Microsoft.NET.Sdk">\r
-\r
-  <PropertyGroup>\r
-    <Version>0.2.51</Version>\r
-    <Authors>Samsung Electronics</Authors>\r
-    <Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>\r
-    <Description>\r
-      Tizen NUI is the UI Framework based on DALi (Dynamic Animation Library) 3D Graphic engine.\r
-      It is a quick and easy way of allowing developers to create Rich UI Applications like Image/Video galleries,\r
-      Music players, Games, Homescreens/launch pads, and so on.\r
-    </Description>\r
-    <PackageProjectUrl>https://www.tizen.org/</PackageProjectUrl>\r
-    <PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>\r
-    <PackageIconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</PackageIconUrl>\r
-  </PropertyGroup>\r
-\r
-  <PropertyGroup>\r
-    <TargetFramework>netstandard1.6</TargetFramework>\r
-    <DefineConstants>$(DefineConstants)DEBUG_ON</DefineConstants>\r
-    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>\r
-    <SignAssembly>True</SignAssembly>\r
-    <AssemblyOriginatorKeyFile>TizenTVNUI.snk</AssemblyOriginatorKeyFile>\r
-    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>\r
-  </PropertyGroup>\r
-\r
-  <ItemGroup>\r
-    <PackageReference Include="System.Reflection.TypeExtensions" Version="4.3.0" PrivateAssets="All" />\r
-    <PackageReference Include="Tizen.Applications.Common" Version="1.5.8" />\r
-  </ItemGroup>\r
-\r
-</Project>\r
-\r
+<Project Sdk="Microsoft.NET.Sdk">
+    <PropertyGroup>
+        <TargetFramework>netstandard2.0</TargetFramework>
+        <NoWarn>$(NoWarn);CS0618;CS0809;CS1591;CA1054;CA1056</NoWarn>
+        <LangVersion>8.0</LangVersion>
+    </PropertyGroup>
+    <PropertyGroup>
+        <DefineConstants>$(DefineConstants);NUI_DEBUG_OFF</DefineConstants>
+    </PropertyGroup>
+
+    <ItemGroup>
+        <TizenPreloadFile Include="Tizen.NUI.preload" Sequence="30" />
+    </ItemGroup>
+    <ItemGroup>
+      <PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
+      <PackageReference Include="System.Reflection.TypeExtensions" Version="4.3.0" />
+    </ItemGroup>
+    <ItemGroup>
+        <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj" />
+        <ProjectReference Include="..\Tizen.Applications.ComponentBased\Tizen.Applications.ComponentBased.csproj" />
+        <ProjectReference Include="..\Tizen.System.Information\Tizen.System.Information.csproj" />
+        <ProjectReference Include="..\Tizen.System.SystemSettings\Tizen.System.SystemSettings.csproj" />
+        <ProjectReference Include="..\Tizen.Applications.ThemeManager\Tizen.Applications.ThemeManager.csproj" />
+        <ProjectReference Include="..\Tizen.Tracer\Tizen.Tracer.csproj" />
+    </ItemGroup>
+    <Target Name="ChangeAliasesOfStrongNameAssemblies" BeforeTargets="FindReferenceAssembliesForReferences;ResolveReferences">
+        <ItemGroup>
+            <ReferencePath Condition="'%(FileName)' == 'Tizen.System.SystemSettings'">
+                <Aliases>TizenSystemSettings</Aliases>
+            </ReferencePath>
+            <ReferencePath Condition="'%(FileName)' == 'Tizen.System.Information'">
+                <Aliases>TizenSystemInformation</Aliases>
+            </ReferencePath>
+        </ItemGroup>
+    </Target>
+    <ItemGroup>
+        <None Update="res\*.png;res\*.svg">
+            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+        </None>
+    </ItemGroup>
+    <!-- Target Name="PostBuild" AfterTargets="PostBuildEvent">
+        <Exec Command="sdb root on&#xA;&#xD;&#xA;sdb shell &quot;mount -o remount,rw /&quot;&#xA;&#xD;&#xA;sdb shell &quot;rm /usr/share/dotnet.tizen/framework/*.ni.dll&quot;&#xA;&#xD;&#xA;sdb push $(TargetDir)Tizen.NUI.dll /usr/share/dotnet.tizen/framework/&#xA;&#xD;&#xA;sdb shell &quot;chsmack -a '_' /usr/share/dotnet.tizen/framework/Tizen.NUI.dll&quot;&#xA;&#xD;&#xA;sdb shell sync&#xA;" />
+    </Target -->
+</Project>