Fix project files to support netstandard 1.6
authorWonYoung Choi <wy80.choi@samsung.com>
Sat, 3 Sep 2016 08:19:24 +0000 (17:19 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Sat, 3 Sep 2016 08:19:24 +0000 (17:19 +0900)
Change-Id: I01d1dcd41095c167b3717c993d39763e55ed5028
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
.gitignore [new file with mode: 0755]
Tizen.System.Sensor/CoreFx.References.targets [deleted file]
Tizen.System.Sensor/Tizen.System.Sensor.Net45.csproj [new file with mode: 0644]
Tizen.System.Sensor/Tizen.System.Sensor.Net45.project.json [new file with mode: 0644]
Tizen.System.Sensor/Tizen.System.Sensor.csproj
Tizen.System.Sensor/Tizen.System.Sensor.nuspec [new file with mode: 0644]
Tizen.System.Sensor/Tizen.System.Sensor.project.json [new file with mode: 0644]
packaging/csapi-system-sensor.spec

diff --git a/.gitignore b/.gitignore
new file mode 100755 (executable)
index 0000000..46619d5
--- /dev/null
@@ -0,0 +1,7 @@
+bin/
+obj/
+*.exe
+*.dll
+*.csproj.user
+*.lock.json
+.vs/
diff --git a/Tizen.System.Sensor/CoreFx.References.targets b/Tizen.System.Sensor/CoreFx.References.targets
deleted file mode 100644 (file)
index dab29ec..0000000
+++ /dev/null
@@ -1,265 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <ItemGroup Condition=" '$(CoreFxPath)' != '' ">
-     <Reference Include="Microsoft.Win32.Primitives">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/Microsoft.Win32.Primitives.dll</HintPath>
-    </Reference>
-    <Reference Include="System.AppContext">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.AppContext.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Collections.Concurrent">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Collections.Concurrent.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Collections">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Collections.dll</HintPath>
-    </Reference>
-    <Reference Include="System.ComponentModel.Annotations">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.ComponentModel.Annotations.dll</HintPath>
-    </Reference>
-    <Reference Include="System.ComponentModel">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.ComponentModel.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Console">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Console.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Diagnostics.Debug">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Diagnostics.Debug.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Diagnostics.Process">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Diagnostics.Process.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Diagnostics.Tools">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Diagnostics.Tools.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Diagnostics.TraceSource">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Diagnostics.TraceSource.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Diagnostics.Tracing">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Diagnostics.Tracing.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Dynamic.Runtime">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Dynamic.Runtime.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Globalization.Calendars">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Globalization.Calendars.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Globalization">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Globalization.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Globalization.Extensions">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Globalization.Extensions.dll</HintPath>
-    </Reference>
-    <Reference Include="System.IO.Compression">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.IO.Compression.dll</HintPath>
-    </Reference>
-    <Reference Include="System.IO.Compression.ZipFile">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.IO.Compression.ZipFile.dll</HintPath>
-    </Reference>
-    <Reference Include="System.IO">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.IO.dll</HintPath>
-    </Reference>
-    <Reference Include="System.IO.FileSystem">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.IO.FileSystem.dll</HintPath>
-    </Reference>
-    <Reference Include="System.IO.FileSystem.Primitives">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.IO.FileSystem.Primitives.dll</HintPath>
-    </Reference>
-    <Reference Include="System.IO.FileSystem.Watcher">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.IO.FileSystem.Watcher.dll</HintPath>
-    </Reference>
-    <Reference Include="System.IO.MemoryMappedFiles">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.IO.MemoryMappedFiles.dll</HintPath>
-    </Reference>
-    <Reference Include="System.IO.UnmanagedMemoryStream">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.IO.UnmanagedMemoryStream.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Linq">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Linq.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Linq.Expressions">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Linq.Expressions.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Linq.Parallel">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Linq.Parallel.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Linq.Queryable">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Linq.Queryable.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Net.Http">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Net.Http.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Net.NameResolution">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Net.NameResolution.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Net.Primitives">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Net.Primitives.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Net.Requests">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Net.Requests.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Net.Security">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Net.Security.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Net.Sockets">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Net.Sockets.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Net.WebHeaderCollection">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Net.WebHeaderCollection.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Numerics.Vectors">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Numerics.Vectors.dll</HintPath>
-    </Reference>
-    <Reference Include="System.ObjectModel">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.ObjectModel.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Reflection.DispatchProxy">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Reflection.DispatchProxy.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Reflection">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Reflection.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Reflection.Extensions">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Reflection.Extensions.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Reflection.Primitives">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Reflection.Primitives.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Reflection.TypeExtensions">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Reflection.TypeExtensions.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Resources.ResourceManager">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Resources.ResourceManager.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Runtime">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Runtime.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Runtime.Extensions">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Runtime.Extensions.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Runtime.Handles">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Runtime.Handles.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Runtime.InteropServices">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Runtime.InteropServices.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Runtime.InteropServices.RuntimeInformation">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Runtime.Loader">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Runtime.Loader.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Runtime.Numerics">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Runtime.Numerics.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Security.Cryptography.Algorithms">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Security.Cryptography.Algorithms.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Security.Cryptography.Encoding">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Security.Cryptography.Encoding.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Security.Cryptography.Primitives">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Security.Cryptography.Primitives.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Security.Cryptography.X509Certificates">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Security.Cryptography.X509Certificates.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Text.Encoding">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Text.Encoding.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Text.Encoding.Extensions">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Text.Encoding.Extensions.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Text.RegularExpressions">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Text.RegularExpressions.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Threading">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Threading.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Threading.Tasks">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Threading.Tasks.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Threading.Tasks.Parallel">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Threading.Tasks.Parallel.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Threading.Thread">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Threading.Thread.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Threading.ThreadPool">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Threading.ThreadPool.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Threading.Timer">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Threading.Timer.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Xml.ReaderWriter">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Xml.ReaderWriter.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Xml.XDocument">
-      <Private>False</Private>
-      <HintPath>$(CoreFxPath)/System.Xml.XDocument.dll</HintPath>
-    </Reference>
-  </ItemGroup>
-</Project>
\ No newline at end of file
diff --git a/Tizen.System.Sensor/Tizen.System.Sensor.Net45.csproj b/Tizen.System.Sensor/Tizen.System.Sensor.Net45.csproj
new file mode 100644 (file)
index 0000000..e8652e2
--- /dev/null
@@ -0,0 +1,129 @@
+<?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>{15FBE509-20D4-4D66-A8FC-5B0AC807BB88}</ProjectGuid>\r
+    <OutputType>Library</OutputType>\r
+    <AppDesignerFolder>Properties</AppDesignerFolder>\r
+    <RootNamespace>Tizen.System.Sensor</RootNamespace>\r
+    <AssemblyName>Tizen.System.Sensor</AssemblyName>\r
+    <FileAlignment>512</FileAlignment>\r
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\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\Net45\</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\Net45\</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.System.Sensor.snk</AssemblyOriginatorKeyFile>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <Reference Include="System" />\r
+    <Reference Include="System.Core" />\r
+    <Reference Include="System.Xml.Linq" />\r
+    <Reference Include="System.Data.DataSetExtensions" />\r
+    <Reference Include="Microsoft.CSharp" />\r
+    <Reference Include="System.Data" />\r
+    <Reference Include="System.Net.Http" />\r
+    <Reference Include="System.Xml" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <Compile Include="Interop\Interop.Sensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\FaceDownGestureDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\PickUpGestureDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\RunningActivityDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\StationaryActivityDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\InVehicleActivityDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\WalkingActivityDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\WristUpGestureDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\ActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\PickUpGestureDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\RunningActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\InVehicleActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\StationaryActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\WalkingActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\WristUpGestureDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\FaceDownGestureDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\SensorEnumerations.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\GravitySensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\GyroscopeDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\GyroscopeRotationVectorSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\HeartRateMonitorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\HumiditySensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\LightSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\LinearAccelerationSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\MagnetometerDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\MagnetometerRotationVectorSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\OrientationSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\PedometerDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\PressureSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\ProximitySensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\RotationVectorSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\SleepMonitorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\TemperatureSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\UltravioletSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\UncalibratedGyroscopeDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\UncalibratedMagnetometerDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\GravitySensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\Gyroscope.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\GyroscopeRotationVectorSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\HeartRateMonitor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\HumiditySensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\LightSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\LinearAccelerationSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\Magnetometer.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\MagnetometerRotationVectorSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\OrientationSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\Pedometer.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\PressureSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\ProximitySensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\RotationVectorSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\SleepMonitor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\TemperatureSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\UltravioletSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\UncalibratedGyroscope.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\UncalibratedMagnetometer.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Sensor.cs" />\r
+    <Compile Include="Interop\Interop.Libraries.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\Accelerometer.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\SensorAccuracyChangedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\AccelerometerDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\SensorErrorFactory.cs" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <None Include="Tizen.System.Sensor.nuspec" />\r
+    <None Include="Tizen.System.Sensor.Net45.project.json" />\r
+    <None Include="Tizen.System.Sensor.snk" />\r
+  </ItemGroup>\r
+  <Import Project="$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets" Condition="Exists('$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets')" />\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.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->\r
+</Project>
\ No newline at end of file
diff --git a/Tizen.System.Sensor/Tizen.System.Sensor.Net45.project.json b/Tizen.System.Sensor/Tizen.System.Sensor.Net45.project.json
new file mode 100644 (file)
index 0000000..d9af4f0
--- /dev/null
@@ -0,0 +1,11 @@
+{
+  "dependencies": {
+    "Tizen": "1.0.0"
+  },
+  "frameworks": {
+    "net45": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
index f4c10bc..869c5ca 100644 (file)
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>8.0.30703</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{CB655C6A-F73B-448E-913C-CA4DCBC5E401}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <RootNamespace>Tizen.System.Sensor</RootNamespace>
-    <AssemblyName>Tizen.System.Sensor</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
-    <TargetFrameworkProfile />
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug</OutputPath>
-    <DefineConstants>DEBUG;</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <ConsolePause>false</ConsolePause>
-    <Prefer32Bit>false</Prefer32Bit>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>none</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Release</OutputPath>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <ConsolePause>false</ConsolePause>
-    <Prefer32Bit>false</Prefer32Bit>
-  </PropertyGroup>
-  <PropertyGroup>
-    <SignAssembly>true</SignAssembly>
-  </PropertyGroup>
-  <PropertyGroup>
-    <AssemblyOriginatorKeyFile>Tizen.System.Sensor.snk</AssemblyOriginatorKeyFile>
-  </PropertyGroup>
-  <Import Project="CoreFx.References.targets" />
-  <ItemGroup Condition=" '$(CoreFxPath)' == '' ">
-    <Reference Include="System" />
-  </ItemGroup>
-  <ItemGroup>
-    <Reference Include="Tizen.Internals">
-      <HintPath>..\..\tizen\Tizen.Internals\bin\Debug\Tizen.Internals.dll</HintPath>
-    </Reference>
-    <Reference Include="Tizen">
-      <HintPath>..\..\tizen\Tizen\bin\Debug\Tizen.dll</HintPath>
-    </Reference>
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Interop\Interop.Sensor.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\FaceDownGestureDetectorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\PickUpGestureDetectorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\RunningActivityDetectorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\StationaryActivityDetectorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\InVehicleActivityDetectorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\WalkingActivityDetectorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\WristUpGestureDetectorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\ActivityDetector.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\PickUpGestureDetector.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\RunningActivityDetector.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\InVehicleActivityDetector.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\StationaryActivityDetector.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\WalkingActivityDetector.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\WristUpGestureDetector.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\FaceDownGestureDetector.cs" />
-    <Compile Include="Tizen.System.Sensor\SensorEnumerations.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\GravitySensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\GyroscopeDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\GyroscopeRotationVectorSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\HeartRateMonitorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\HumiditySensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\LightSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\LinearAccelerationSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\MagnetometerDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\MagnetometerRotationVectorSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\OrientationSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\PedometerDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\PressureSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\ProximitySensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\RotationVectorSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\SleepMonitorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\TemperatureSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\UltravioletSensorDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\UncalibratedGyroscopeDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\UncalibratedMagnetometerDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\GravitySensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\Gyroscope.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\GyroscopeRotationVectorSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\HeartRateMonitor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\HumiditySensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\LightSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\LinearAccelerationSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\Magnetometer.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\MagnetometerRotationVectorSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\OrientationSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\Pedometer.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\PressureSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\ProximitySensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\RotationVectorSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\SleepMonitor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\TemperatureSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\UltravioletSensor.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\UncalibratedGyroscope.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\UncalibratedMagnetometer.cs" />
-    <Compile Include="Tizen.System.Sensor\Sensor.cs" />
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Tizen.System.Sensor\Plugins\Accelerometer.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\SensorAccuracyChangedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\EventArgs\AccelerometerDataUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.System.Sensor\SensorErrorFactory.cs" />
-  </ItemGroup>
-  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-  <ItemGroup>
-    <None Include="Tizen.System.Sensor.snk" />
-  </ItemGroup>
-  <ProjectExtensions>
-    <MonoDevelop>
-      <Properties>
-        <Policies>
-          <TextStylePolicy EolMarker="Unix" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp" />
-          <CSharpFormattingPolicy inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
-          <DotNetNamingPolicy DirectoryNamespaceAssociation="None" ResourceNamePolicy="FileFormatDefault" />
-          <StandardHeader Text="" IncludeInNewFiles="True" />
-          <TextStylePolicy EolMarker="Unix" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/plain" />
-          <TextStylePolicy inheritsSet="Mono" inheritsScope="text/plain" scope="application/xml" />
-          <XmlFormattingPolicy inheritsSet="Mono" inheritsScope="application/xml" scope="application/xml" />
-        </Policies>
-      </Properties>
-    </MonoDevelop>
-  </ProjectExtensions>
-</Project>
+<?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.System.Sensor</RootNamespace>\r
+    <AssemblyName>Tizen.System.Sensor</AssemblyName>\r
+    <FileAlignment>512</FileAlignment>\r
+  </PropertyGroup>\r
+  <PropertyGroup>\r
+    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>\r
+    <TargetFrameworkVersion>v1.6</TargetFrameworkVersion>\r
+    <NuGetTargetMoniker>.NETStandard,Version=v1.6</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.System.Sensor.snk</AssemblyOriginatorKeyFile>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <Compile Include="Interop\Interop.Sensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\FaceDownGestureDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\PickUpGestureDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\RunningActivityDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\StationaryActivityDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\InVehicleActivityDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\WalkingActivityDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\WristUpGestureDetectorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\ActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\PickUpGestureDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\RunningActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\InVehicleActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\StationaryActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\WalkingActivityDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\WristUpGestureDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\FaceDownGestureDetector.cs" />\r
+    <Compile Include="Tizen.System.Sensor\SensorEnumerations.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\GravitySensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\GyroscopeDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\GyroscopeRotationVectorSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\HeartRateMonitorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\HumiditySensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\LightSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\LinearAccelerationSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\MagnetometerDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\MagnetometerRotationVectorSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\OrientationSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\PedometerDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\PressureSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\ProximitySensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\RotationVectorSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\SleepMonitorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\TemperatureSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\UltravioletSensorDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\UncalibratedGyroscopeDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\UncalibratedMagnetometerDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\GravitySensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\Gyroscope.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\GyroscopeRotationVectorSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\HeartRateMonitor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\HumiditySensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\LightSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\LinearAccelerationSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\Magnetometer.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\MagnetometerRotationVectorSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\OrientationSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\Pedometer.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\PressureSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\ProximitySensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\RotationVectorSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\SleepMonitor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\TemperatureSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\UltravioletSensor.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\UncalibratedGyroscope.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\UncalibratedMagnetometer.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Sensor.cs" />\r
+    <Compile Include="Interop\Interop.Libraries.cs" />\r
+    <Compile Include="Tizen.System.Sensor\Plugins\Accelerometer.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\SensorAccuracyChangedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\EventArgs\AccelerometerDataUpdatedEventArgs.cs" />\r
+    <Compile Include="Tizen.System.Sensor\SensorErrorFactory.cs" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <None Include="Tizen.System.Sensor.nuspec" />\r
+    <None Include="Tizen.System.Sensor.project.json" />\r
+    <None Include="Tizen.System.Sensor.snk" />\r
+  </ItemGroup>\r
+  <Import Project="$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets" Condition="Exists('$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets')" />\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.
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->\r
+  <PropertyGroup>\r
+    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
+       https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
+    -->\r
+    <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
+       properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
+       to prevent it from outputting a warning (MSB3644).
+    -->\r
+    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>\r
+    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>\r
+    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>\r
+  </PropertyGroup>\r
+</Project>
\ No newline at end of file
diff --git a/Tizen.System.Sensor/Tizen.System.Sensor.nuspec b/Tizen.System.Sensor/Tizen.System.Sensor.nuspec
new file mode 100644 (file)
index 0000000..baa1d6c
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<package>
+  <metadata>
+               <id>Tizen.System.Sensor</id>
+               <version>$version$</version>
+               <authors>Tizen Developers</authors>
+               <description>Sensor API for Tizen.Net</description>
+    <dependencies>
+      <dependency id="Tizen" version="1.0.0" />
+    </dependencies>
+       </metadata>
+</package>
diff --git a/Tizen.System.Sensor/Tizen.System.Sensor.project.json b/Tizen.System.Sensor/Tizen.System.Sensor.project.json
new file mode 100644 (file)
index 0000000..beb9e15
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "dependencies": {
+    "NETStandard.Library": "1.6.0",
+    "Tizen": "1.0.0"
+  },
+  "frameworks": {
+    "netstandard1.6": {}
+  },
+  "runtimes": {
+    "win": {}
+  }
+}
index 8351ef5..c357a15 100644 (file)
@@ -1,4 +1,4 @@
-%{!?dotnet_assembly_path: %define dotnet_assembly_path %{_datadir}/assembly}
+%{!?dotnet_assembly_path: %define dotnet_assembly_path /opt/usr/share/dotnet.tizen/framework}
 %{!?dotnet_core_path: %define dotnet_core_path %{_datadir}/tizen.net/ref}
 
 %if 0%{?tizen_build_devel_mode}
@@ -27,8 +27,10 @@ AutoReqProv: no
 BuildRequires: corefx-managed-32b-ref
 %endif
 
-# C# API Requires
-BuildRequires: csapi-tizen
+BuildRequires: dotnet-build-tools
+
+# C# API Requries
+BuildRequires: csapi-tizen-devel
 
 %description
 Tizen Sensor API for C#
@@ -40,25 +42,69 @@ cp %{SOURCE1} .
 %define Assemblies Tizen.System.Sensor
 
 %build
+# Build for Net45
 for ASM in %{Assemblies}; do
-xbuild $ASM/$ASM.csproj \
+if [ -e $ASM/$ASM.Net45.csproj ]; then
+  xbuild $ASM/$ASM.Net45.csproj \
+         /p:Configuration=%{BUILDCONF} \
+         /p:DotnetAssemblyPath=%{dotnet_assembly_path}/devel/net45 \
+         /p:OutputPath=bin/net45
+fi
+
+# Build for Dotnet
 %if 0%{?_with_corefx}
-        /p:NoStdLib=True \
-        /p:TargetFrameworkVersion=v5.0 \
-        /p:AddAdditionalExplicitAssemblyReferences=False \
-        /p:CoreFxPath=%{dotnet_core_path} \
+if [ -e $ASM/$ASM.csproj ]; then
+  xbuild $ASM/$ASM.csproj \
+         /p:Configuration=%{BUILDCONF} \
+         /p:DotnetAssemblyPath=%{dotnet_assembly_path}/devel/netstandard1.6 \
+         /p:CoreFxPath=%{dotnet_core_path} \
+         /p:OutputPath=bin/netstandard1.6
+fi
 %endif
-        /p:Configuration=%{BUILDCONF} \
-        /p:ReferencePath=%{dotnet_assembly_path}
+
+# Make NuGet package
+dotnet-gbs pack $ASM/$ASM.nuspec --PackageVersion=%{version} --PackageFiles=$ASM/bin
+
 done
 
 %install
-mkdir -p %{buildroot}%{dotnet_assembly_path}
+mkdir -p %{buildroot}%{dotnet_assembly_path}/devel
 for ASM in %{Assemblies}; do
-install -p -m 644 $ASM/bin/%{BUILDCONF}/$ASM.dll %{buildroot}%{dotnet_assembly_path}
+  cp -fr $ASM/bin/* %{buildroot}%{dotnet_assembly_path}/devel
+%if 0%{?_with_corefx}
+  install -p -m 644 $ASM/bin/netstandard1.6/$ASM.dll %{buildroot}%{dotnet_assembly_path}
+%else
+  install -p -m 644 $ASM/bin/net45/$ASM.dll %{buildroot}%{dotnet_assembly_path}
+%endif
 done
 
+mkdir -p %{buildroot}/nuget
+install -p -m 644 *.nupkg %{buildroot}/nuget
+
 %files
 %manifest %{name}.manifest
 %license LICENSE
 %attr(644,root,root) %{dotnet_assembly_path}/*.dll
+
+%package devel
+Summary:   Development package for %{name}
+Group:     Development/Libraries
+Requires:  %{name} = %{version}-%{release}
+AutoReqProv: no
+
+%description devel
+Development package for %{name}
+
+%files devel
+%{dotnet_assembly_path}/devel/*
+
+%package nuget
+Summary:   NuGet package for %{name}
+Group:     Development/Libraries
+Requires:  %{name} = %{version}-%{release}
+
+%description nuget
+NuGet package for %{name}
+
+%files nuget
+/nuget/*.nupkg