Merge packaging information to csproj
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 8 Jun 2017 00:44:57 +0000 (09:44 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Thu, 8 Jun 2017 00:44:57 +0000 (09:44 +0900)
Change-Id: I8f57f42239e5899ecc08deb94e9f61cb61d2909e
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
packaging/csapi-sensor.spec
src/Tizen.Sensor/Tizen.Sensor.csproj
src/Tizen.Sensor/Tizen.Sensor.nuspec [deleted file]
src/Tizen.Sensor/Tizen.Sensor.sln [new file with mode: 0644]

index 0facce9..55906f6 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       csapi-sensor
 Summary:    Tizen Sensor API for C#
-Version:    1.0.6
+Version:    1.0.7
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
@@ -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 b9346ee..c5a8727 100644 (file)
@@ -1,15 +1,26 @@
-<Project Sdk="Microsoft.NET.Sdk">
-       <PropertyGroup>
-               <TargetFramework>netstandard1.3</TargetFramework>
-               <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
-               <SignAssembly>True</SignAssembly>
-               <AssemblyOriginatorKeyFile>Tizen.Sensor.snk</AssemblyOriginatorKeyFile>
-               <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
-               <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
-       </PropertyGroup>
-
-       <ItemGroup>
-               <PackageReference Include="Tizen" Version="1.0.3" />
-               <PackageReference Include="Tizen.System.Information" Version="1.0.1" />
-       </ItemGroup>
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <Version>1.0.7</Version>
+    <Authors>Samsung Electronics</Authors>
+    <Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>
+    <Description>Provides the classes to control and get data from the sensors supported by the device.</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>
+    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+    <SignAssembly>True</SignAssembly>
+    <AssemblyOriginatorKeyFile>Tizen.Sensor.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <PackageReference Include="Tizen" Version="1.0.5" />
+    <PackageReference Include="Tizen.System.Information" Version="1.0.4" />
+  </ItemGroup>
+
 </Project>
diff --git a/src/Tizen.Sensor/Tizen.Sensor.nuspec b/src/Tizen.Sensor/Tizen.Sensor.nuspec
deleted file mode 100755 (executable)
index 7dce069..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<package>
-  <metadata>
-               <id>Tizen.Sensor</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 classes to control and get data from the sensors supported by the device.</description>
-    <dependencies>
-      <dependency id="Tizen" version="1.0.3" />
-      <dependency id="Tizen.System.Information" version="1.0.1" />
-    </dependencies>
-       </metadata>
-</package>
diff --git a/src/Tizen.Sensor/Tizen.Sensor.sln b/src/Tizen.Sensor/Tizen.Sensor.sln
new file mode 100644 (file)
index 0000000..ce47bf5
--- /dev/null
@@ -0,0 +1,22 @@
+\r
+Microsoft Visual Studio Solution File, Format Version 12.00\r
+# Visual Studio 15\r
+VisualStudioVersion = 15.0.26430.12\r
+MinimumVisualStudioVersion = 10.0.40219.1\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Sensor", "Tizen.Sensor.csproj", "{AAE48604-CF03-462D-8B82-692148FC0286}"\r
+EndProject\r
+Global\r
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+               Debug|Any CPU = Debug|Any CPU\r
+               Release|Any CPU = Release|Any CPU\r
+       EndGlobalSection\r
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+               {AAE48604-CF03-462D-8B82-692148FC0286}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {AAE48604-CF03-462D-8B82-692148FC0286}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {AAE48604-CF03-462D-8B82-692148FC0286}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {AAE48604-CF03-462D-8B82-692148FC0286}.Release|Any CPU.Build.0 = Release|Any CPU\r
+       EndGlobalSection\r
+       GlobalSection(SolutionProperties) = preSolution\r
+               HideSolutionNode = FALSE\r
+       EndGlobalSection\r
+EndGlobal\r