sensor: csapi: change project files for visual studio 2017 14/129714/4
authorkibak.yoon <kibak.yoon@samsung.com>
Thu, 18 May 2017 00:57:34 +0000 (09:57 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Fri, 19 May 2017 05:25:20 +0000 (14:25 +0900)
Change-Id: I3dc91e30014bf81ca933c6cf9eb9b797a10a6ad6
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Tizen.Sensor/Properties/AssemblyInfo.cs [deleted file]
Tizen.Sensor/Tizen.Sensor.csproj
Tizen.Sensor/Tizen.Sensor.nuspec [changed mode: 0644->0755]
Tizen.Sensor/Tizen.Sensor.project.json [deleted file]

diff --git a/Tizen.Sensor/Properties/AssemblyInfo.cs b/Tizen.Sensor/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index ae84e64..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-// Information about this assembly is defined by the following attributes. 
-// Change them to the values specific to your project.
-
-[assembly: AssemblyTitle("Tizen.Sensor")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Samsung Electronics")]
-[assembly: AssemblyProduct("Tizen.Sensor")]
-[assembly: AssemblyCopyright("Copyright (c) 2016 Samsung Electronics Co., Ltd")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
-// The form "{Major}.{Minor}.*" will automatically update the build and revision,
-// and "{Major}.{Minor}.{Build}.*" will update just the revision.
-
-[assembly: AssemblyVersion("1.0.0.0")]
-
-// The following attributes are used to specify the signing key for the assembly, 
-// if desired. See the Mono documentation for more information about signing.
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
-
index a08d010..b9346ee 100644 (file)
-<?xml version="1.0" encoding="utf-8"?>\r
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
-  <PropertyGroup>\r
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
-    <ProjectGuid>{CB655C6A-F73B-448E-913C-CA4DCBC5E401}</ProjectGuid>\r
-    <OutputType>Library</OutputType>\r
-    <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace>Tizen.Sensor</RootNamespace>\r
-    <AssemblyName>Tizen.Sensor</AssemblyName>\r
-    <FileAlignment>512</FileAlignment>\r
-  </PropertyGroup>\r
-  <PropertyGroup>\r
-    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>\r
-    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>\r
-    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>\r
-    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
-    <NoStdLib>true</NoStdLib>\r
-    <NoWarn>$(NoWarn);1701;1702</NoWarn>\r
-  </PropertyGroup>\r
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
-    <DebugSymbols>true</DebugSymbols>\r
-    <DebugType>full</DebugType>\r
-    <Optimize>false</Optimize>\r
-    <OutputPath>bin\Debug\</OutputPath>\r
-    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
-    <ErrorReport>prompt</ErrorReport>\r
-    <WarningLevel>4</WarningLevel>\r
-    <ConsolePause>false</ConsolePause>\r
-    <Prefer32Bit>false</Prefer32Bit>\r
-  </PropertyGroup>\r
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
-    <DebugType>pdbonly</DebugType>\r
-    <Optimize>true</Optimize>\r
-    <OutputPath>bin\Release\</OutputPath>\r
-    <DefineConstants>TRACE</DefineConstants>\r
-    <ErrorReport>prompt</ErrorReport>\r
-    <WarningLevel>4</WarningLevel>\r
-    <ConsolePause>false</ConsolePause>\r
-    <Prefer32Bit>false</Prefer32Bit>\r
-  </PropertyGroup>\r
-  <PropertyGroup>\r
-    <SignAssembly>true</SignAssembly>\r
-  </PropertyGroup>\r
-  <PropertyGroup>\r
-    <AssemblyOriginatorKeyFile>Tizen.Sensor.snk</AssemblyOriginatorKeyFile>\r
-  </PropertyGroup>\r
-  <ItemGroup>\r
-    <Compile Include="Properties\AssemblyInfo.cs" />\r
-    <Compile Include="Interop\Interop.Sensor.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\FaceDownGestureDetectorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\PickUpGestureDetectorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\RunningActivityDetectorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\StationaryActivityDetectorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\InVehicleActivityDetectorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\WalkingActivityDetectorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\WristUpGestureDetectorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\ActivityDetector.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\PickUpGestureDetector.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\RunningActivityDetector.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\InVehicleActivityDetector.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\StationaryActivityDetector.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\WalkingActivityDetector.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\WristUpGestureDetector.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\FaceDownGestureDetector.cs" />\r
-    <Compile Include="Tizen.Sensor\SensorEnumerations.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\GravitySensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\GyroscopeDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\GyroscopeRotationVectorSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\HeartRateMonitorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\HumiditySensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\LightSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\LinearAccelerationSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\MagnetometerDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\MagnetometerRotationVectorSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\OrientationSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\PedometerDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\PressureSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\ProximitySensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\RotationVectorSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\SleepMonitorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\TemperatureSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\UltravioletSensorDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\UncalibratedGyroscopeDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\UncalibratedMagnetometerDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\GravitySensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\Gyroscope.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\GyroscopeRotationVectorSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\HeartRateMonitor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\HumiditySensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\LightSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\LinearAccelerationSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\Magnetometer.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\MagnetometerRotationVectorSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\OrientationSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\Pedometer.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\PressureSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\ProximitySensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\RotationVectorSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\SleepMonitor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\TemperatureSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\UltravioletSensor.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\UncalibratedGyroscope.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\UncalibratedMagnetometer.cs" />\r
-    <Compile Include="Tizen.Sensor\Sensor.cs" />\r
-    <Compile Include="Interop\Interop.Libraries.cs" />\r
-    <Compile Include="Tizen.Sensor\Plugins\Accelerometer.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\SensorAccuracyChangedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\EventArgs\AccelerometerDataUpdatedEventArgs.cs" />\r
-    <Compile Include="Tizen.Sensor\SensorErrorFactory.cs" />\r
-  </ItemGroup>\r
-  <ItemGroup>\r
-    <None Include="Tizen.Sensor.nuspec" />\r
-    <None Include="Tizen.Sensor.project.json" />\r
-    <None Include="Tizen.Sensor.snk" />\r
-  </ItemGroup>\r
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.\r
-       Other similar extension points exist, see Microsoft.Common.targets.\r
-  <Target Name="BeforeBuild">\r
-  </Target>\r
-  <Target Name="AfterBuild">\r
-  </Target>\r
-  -->\r
-  <PropertyGroup>\r
-    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and\r
-       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild\r
-    -->\r
-    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two\r
-       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and\r
-       to prevent it from outputting a warning (MSB3644).\r
-    -->\r
-    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>\r
-    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>\r
-    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>\r
-  </PropertyGroup>\r
-</Project>\r
+<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>
old mode 100644 (file)
new mode 100755 (executable)
index 1f9dfe6..7dce069
                <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.2" />
+      <dependency id="Tizen" version="1.0.3" />
       <dependency id="Tizen.System.Information" version="1.0.1" />
     </dependencies>
        </metadata>
-  <files>
-    <file src="bin/$Configuration$/Tizen.Sensor.dll" target="lib/netstandard1.3" />
-  </files>
 </package>
diff --git a/Tizen.Sensor/Tizen.Sensor.project.json b/Tizen.Sensor/Tizen.Sensor.project.json
deleted file mode 100644 (file)
index be554ab..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "dependencies": {
-    "NETStandard.Library": "1.6.0",
-    "Tizen": "1.0.2",
-    "Tizen.System.Information": "1.0.1"
-  },
-  "frameworks": {
-    "netstandard1.3": {}
-  }
-}