Merge packaging information to csproj
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 8 Jun 2017 00:52:33 +0000 (09:52 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Thu, 8 Jun 2017 00:52:33 +0000 (09:52 +0900)
Change-Id: I39cb2cd855e5bdc438da9863ecef8a2bc0603645
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
packaging/csapi-widget-control.spec
src/Tizen.Applications.WidgetControl/Tizen.Applications.WidgetControl.csproj
src/Tizen.Applications.WidgetControl/Tizen.Applications.WidgetControl.nuspec [deleted file]

index 69f60ea..7fd8b41 100755 (executable)
@@ -31,7 +31,7 @@ cp %{SOURCE1} .
 %build
 for ASM in %{Assemblies}; do
 %dotnet_build $ASM
-%dotnet_pack $ASM/$ASM.nuspec %{version}
+%dotnet_pack $ASM
 done
 
 %install
index 0a00a38..6ba3a04 100644 (file)
@@ -1,4 +1,14 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <Version>1.0.5</Version>
+    <Authors>Samsung Electronics</Authors>
+    <Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>
+    <Description>Provides the Widget control API for Tizen .NET</Description>
+    <PackageProjectUrl>https://www.tizen.org/</PackageProjectUrl>
+    <PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
+    <PackageIconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</PackageIconUrl>
+  </PropertyGroup>
 
   <PropertyGroup>
     <TargetFramework>netstandard1.3</TargetFramework>
@@ -6,11 +16,9 @@
     <SignAssembly>True</SignAssembly>
     <AssemblyOriginatorKeyFile>Tizen.Applications.WidgetControl.snk</AssemblyOriginatorKeyFile>
     <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
-    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="Tizen" Version="1.0.5" />
     <PackageReference Include="Tizen.Applications.Common" Version="1.5.8" />
   </ItemGroup>
 
diff --git a/src/Tizen.Applications.WidgetControl/Tizen.Applications.WidgetControl.nuspec b/src/Tizen.Applications.WidgetControl/Tizen.Applications.WidgetControl.nuspec
deleted file mode 100755 (executable)
index 5c7fb91..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<package>
-       <metadata>
-               <id>Tizen.Applications.WidgetControl</id>
-               <version>$version$</version>
-               <authors>Samsung Electronics</authors>
-               <requireLicenseAcceptance>false</requireLicenseAcceptance>
-               <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
-               <projectUrl>https://www.tizen.org/</projectUrl>
-               <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
-               <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
-               <description>Provides the Widget control API for Tizen.Net</description>
-               <dependencies>
-                       <dependency id="Tizen" version="1.0.5" />
-                       <dependency id="Tizen.Applications.Common" version="1.5.8" />
-               </dependencies>
-       </metadata>
-</package>