Migration to visual studio 2017 ref/for/tizen
authorSeungha Son <seungha.son@samsung.com>
Fri, 19 May 2017 02:41:54 +0000 (11:41 +0900)
committerSeungha Son <seungha.son@samsung.com>
Fri, 19 May 2017 02:41:54 +0000 (11:41 +0900)
 - Replace .csproj file with new format
 - Remove existing unnecessary files
 - Fix .nuspec file

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Tizen.Applications.Badge/Properties/AssemblyInfo.cs [deleted file]
Tizen.Applications.Badge/Tizen.Applications.Badge.csproj
Tizen.Applications.Badge/Tizen.Applications.Badge.nuspec
Tizen.Applications.Badge/Tizen.Applications.Badge.project.json [deleted file]

diff --git a/Tizen.Applications.Badge/Properties/AssemblyInfo.cs b/Tizen.Applications.Badge/Properties/AssemblyInfo.cs
deleted file mode 100755 (executable)
index 5cf6b12..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Tizen.Applications.Badge")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Samsung Electronics")]
-[assembly: AssemblyProduct("Tizen.Applications.Badge")]
-[assembly: AssemblyCopyright("Copyright (c) 2016 Samsung Electronics Co., Ltd")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(true)]
-
-[assembly: Guid("99E463CB-A535-4652-B29F-BDEE93076DBB")]
-
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 7e7bfce..6f137a5 100755 (executable)
@@ -1,84 +1,15 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>8.0.30703</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{A667ADA4-E7DB-4E45-9D31-491024750EE1}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Tizen.Applications.Badge</RootNamespace>
-    <AssemblyName>Tizen.Applications.Badge</AssemblyName>
-    <FileAlignment>512</FileAlignment>
-    <DefaultLanguage>en-US</DefaultLanguage>
-  </PropertyGroup>
-  <PropertyGroup>
-    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
-    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
-    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
-    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
-    <NoStdLib>true</NoStdLib>
-    <NoWarn>$(NoWarn);1701</NoWarn>
-    <UseVSHostingProcess>false</UseVSHostingProcess>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup>
-    <SignAssembly>true</SignAssembly>
-  </PropertyGroup>
+
+<Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
+    <TargetFramework>netstandard1.3</TargetFramework>
+    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+    <SignAssembly>True</SignAssembly>
     <AssemblyOriginatorKeyFile>Tizen.Applications.Badge.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
   </PropertyGroup>
-  <ItemGroup>
-    <None Include="Tizen.Applications.Badge.project.json" />
-    <None Include="Tizen.Applications.Badge.nuspec" />
-    <None Include="Tizen.Applications.Badge.snk" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Interop\Interop.Badge.cs" />
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Tizen.Applications\BadgeErrorFactory.cs" />
-    <Compile Include="Tizen.Applications\Badge.cs" />
-    <Compile Include="Tizen.Applications\BadgeControl.cs" />
-    <Compile Include="Tizen.Applications\BadgeEventArgs.cs" />
+  <ItemGroup>\r
+    <PackageReference Include="Tizen" Version="1.0.5" />\r
   </ItemGroup>
-  <ItemGroup />
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-  <!-- 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>
-  -->
-  <PropertyGroup>
-    <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
-                        https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
-               -->
-    <!-- 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).
-               -->
-    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
-    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
-    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
-  </PropertyGroup>
-</Project>
\ No newline at end of file
+</Project>
+
index 480cf55..7188aee 100755 (executable)
                <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
                <description>Provides the Badge 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.Applications.Badge.dll" target="lib/netstandard1.3" />
-       </files>
 </package>
diff --git a/Tizen.Applications.Badge/Tizen.Applications.Badge.project.json b/Tizen.Applications.Badge/Tizen.Applications.Badge.project.json
deleted file mode 100755 (executable)
index bc60eb3..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-{\r
-  "dependencies": {\r
-    "NETStandard.Library": "1.6.0",\r
-    "Tizen": "1.0.2"\r
-  },\r
-  "frameworks": {\r
-    "netstandard1.3": {}\r
-  }\r
-}\r