Revert "[TFM] Update TizenFX TFM to net6.0 (#5360)" (#5436)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / Tizen.NUI.csproj
index 53c7e3d..8f6d799 100755 (executable)
@@ -1,25 +1,44 @@
 <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>
 
-  <PropertyGroup>
-    <TargetFramework>netstandard1.6</TargetFramework>
-    <DefineConstants>$(DefineConstants);DEBUG_ON</DefineConstants>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj" />
-    <ProjectReference Include="..\Tizen.System.SystemSettings\Tizen.System.SystemSettings.csproj" />
-  </ItemGroup>
-
-  <ItemGroup>
-    <PackageReference Include="System.Reflection.TypeExtensions" Version="$(SystemPackageVersion)" PrivateAssets="All" />
-  </ItemGroup>
-
-  <Target Name="ChangeAliasesOfStrongNameAssemblies" BeforeTargets="FindReferenceAssembliesForReferences;ResolveReferences">
     <ItemGroup>
-      <ReferencePath Condition="'%(FileName)' == 'Tizen.System.SystemSettings'">
-        <Aliases>TizenSystemSettings</Aliases>
-      </ReferencePath>
+        <TizenPreloadFile Include="Tizen.NUI.preload" Sequence="30" />
     </ItemGroup>
-  </Target>
-
-</Project>
\ No newline at end of file
+    <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>