Migration to visual studio 2017
authorSeungha Son <seungha.son@samsung.com>
Mon, 22 May 2017 01:26:52 +0000 (10:26 +0900)
committerSon seungha <seungha.son@samsung.com>
Mon, 29 May 2017 23:33:40 +0000 (23:33 +0000)
 - Replace .csproj file with new format
 - Remove existing unnecessary files
 - Fix .nuspec file

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I982b2c9e7d53d3ce0824b5b1688155bb97026592

src/Tizen.System.MediaKey/Properties/AssemblyInfo.cs [deleted file]
src/Tizen.System.MediaKey/Tizen.System.MediaKey.csproj
src/Tizen.System.MediaKey/Tizen.System.MediaKey.nuspec
src/Tizen.System.MediaKey/Tizen.System.MediaKey.project.json [deleted file]
src/Tizen.System.MediaKey/Tizen.System.MediaKey.sln

diff --git a/src/Tizen.System.MediaKey/Properties/AssemblyInfo.cs b/src/Tizen.System.MediaKey/Properties/AssemblyInfo.cs
deleted file mode 100755 (executable)
index 5f5f409..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Tizen.System.MediaKey")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Samsung Electronics")]
-[assembly: AssemblyProduct("Tizen.System.MediaKey")]
-[assembly: AssemblyCopyright("Copyright (c) 2016 Samsung Electronics Co., Ltd")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(true)]
-
-[assembly: Guid("7EB938F0-730E-4F0F-B97B-0CF65516EA16")]
-
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 8905b20..3d8306f 100644 (file)
@@ -1,86 +1,13 @@
-<?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>{C620873C-5722-4439-B570-45A83AF8A405}</ProjectGuid>\r
-    <OutputType>Library</OutputType>\r
-    <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace>\r
-    </RootNamespace>\r
-    <AssemblyName>Tizen.System.MediaKey</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>true</Optimize>\r
-    <OutputPath>bin\Debug\</OutputPath>\r
-    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
-    <ErrorReport>prompt</ErrorReport>\r
-    <WarningLevel>4</WarningLevel>\r
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>\r
-    <DocumentationFile>bin\Debug\Tizen.System.MediaKey.XML</DocumentationFile>\r
-    <CodeAnalysisRuleSet>ExtendedDesignGuidelineRules.ruleset</CodeAnalysisRuleSet>\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
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>\r
-  </PropertyGroup>\r
-  <PropertyGroup>\r
-    <SignAssembly>true</SignAssembly>\r
-  </PropertyGroup>\r
-  <PropertyGroup>\r
-    <AssemblyOriginatorKeyFile>Tizen.System.MediaKey.snk</AssemblyOriginatorKeyFile>\r
-  </PropertyGroup>\r
-  <ItemGroup>\r
-    <Compile Include="GlobalSuppressions.cs" />\r
-    <Compile Include="Interop\Interop.Libraries.cs" />\r
-    <Compile Include="Interop\Interop.MediaKey.cs" />\r
-    <Compile Include="Properties\AssemblyInfo.cs" />\r
-    <Compile Include="Tizen.System\MediaKey.cs" />\r
-  </ItemGroup>\r
-  <ItemGroup>\r
-    <None Include="Tizen.System.MediaKey.nuspec">\r
-      <SubType>Designer</SubType>\r
-    </None>\r
-    <None Include="Tizen.System.MediaKey.project.json" />\r
-    <None Include="Tizen.System.MediaKey.snk" />\r
-  </ItemGroup>\r
-  <ItemGroup>\r
-    <CodeAnalysisDictionary Include="CustomDictionary.xml" />\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>
\ No newline at end of file
+<Project Sdk="Microsoft.NET.Sdk">
+  <PropertyGroup>
+    <TargetFramework>netstandard1.3</TargetFramework>
+    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+    <SignAssembly>True</SignAssembly>
+    <AssemblyOriginatorKeyFile>Tizen.System.MediaKey.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
+  </PropertyGroup>
+  <ItemGroup>
+    <PackageReference Include="Tizen" Version="1.0.5" />
+  </ItemGroup>
+</Project>
index d0e1890..fdbd938 100755 (executable)
                <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
                <description>Provides the MediaKey API for Tizen.Net</description>
                <dependencies>
-                       <dependency id="Tizen" version="1.0.2" />
+                       <dependency id="Tizen" version="1.0.5" />
                </dependencies>
        </metadata>
-       <files>
-               <file src="bin/$Configuration$/Tizen.System.MediaKey.dll" target="lib/netstandard1.3" />
-       </files>
 </package>
diff --git a/src/Tizen.System.MediaKey/Tizen.System.MediaKey.project.json b/src/Tizen.System.MediaKey/Tizen.System.MediaKey.project.json
deleted file mode 100755 (executable)
index 55ec093..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-{
-  "dependencies": {
-    "NETStandard.Library": "1.6.0",
-    "Tizen": "1.0.2"
-  },
-  "frameworks": {
-    "netstandard1.3": {}
-  }
-}
index a30cc99..4ef02d5 100755 (executable)
@@ -1,22 +1,22 @@
-\r
-Microsoft Visual Studio Solution File, Format Version 12.00\r
-# Visual Studio 14\r
-VisualStudioVersion = 14.0.24720.0\r
-MinimumVisualStudioVersion = 10.0.40219.1\r
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.System.MediaKey", "Tizen.System.MediaKey.csproj", "{A667ADA4-E7DB-4E45-9D31-491024750EE1}"\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
-               {A667ADA4-E7DB-4E45-9D31-491024750EE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
-               {A667ADA4-E7DB-4E45-9D31-491024750EE1}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
-               {A667ADA4-E7DB-4E45-9D31-491024750EE1}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
-               {A667ADA4-E7DB-4E45-9D31-491024750EE1}.Release|Any CPU.Build.0 = Release|Any CPU\r
-       EndGlobalSection\r
-       GlobalSection(SolutionProperties) = preSolution\r
-               HideSolutionNode = FALSE\r
-       EndGlobalSection\r
-EndGlobal\r
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.26430.4
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.System.MediaKey", "Tizen.System.MediaKey.csproj", "{C620873C-5722-4439-B570-45A83AF8A405}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {C620873C-5722-4439-B570-45A83AF8A405}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {C620873C-5722-4439-B570-45A83AF8A405}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {C620873C-5722-4439-B570-45A83AF8A405}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {C620873C-5722-4439-B570-45A83AF8A405}.Release|Any CPU.Build.0 = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal