Migration to visual studio 2017
authorSeungha Son <seungha.son@samsung.com>
Wed, 24 May 2017 03:48:27 +0000 (12:48 +0900)
committerSeungha Son <seungha.son@samsung.com>
Wed, 24 May 2017 03:49:00 +0000 (12:49 +0900)
 - Replace .csproj file with new format
 - Remove existing unnecessary files
 - Fix .nuspec file

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

src/Tizen.Applications.WidgetApplication/Properties/AssemblyInfo.cs [deleted file]
src/Tizen.Applications.WidgetApplication/Tizen.Applications.WidgetApplication.csproj
src/Tizen.Applications.WidgetApplication/Tizen.Applications.WidgetApplication.nuspec
src/Tizen.Applications.WidgetApplication/Tizen.Applications.WidgetApplication.project.json [deleted file]

diff --git a/src/Tizen.Applications.WidgetApplication/Properties/AssemblyInfo.cs b/src/Tizen.Applications.WidgetApplication/Properties/AssemblyInfo.cs
deleted file mode 100755 (executable)
index 837590a..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Tizen.Applications.WidgetApplication")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Samsung Electronics")]
-[assembly: AssemblyProduct("Tizen.Applications")]
-[assembly: AssemblyCopyright("Copyright (c) 2015 Samsung Electronics Co., Ltd")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(true)]
-
-[assembly: Guid("F796B662-DCD4-4C00-90F6-70FED00A2498")]
-
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 6b4f3c4..8bd4c34 100755 (executable)
@@ -1,82 +1,18 @@
-<?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
-    <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>\r
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
-    <ProductVersion>8.0.30703</ProductVersion>\r
-    <SchemaVersion>2.0</SchemaVersion>\r
-    <ProjectGuid>{B96DCE41-7A6D-45A5-8BB8-E035186B5092}</ProjectGuid>\r
-    <OutputType>Library</OutputType>\r
-    <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace>Tizen.Applications.WidgetApplication</RootNamespace>\r
-    <AssemblyName>Tizen.Applications.WidgetApplication</AssemblyName>\r
-    <FileAlignment>512</FileAlignment>\r
-    <DefaultLanguage>en-US</DefaultLanguage>\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</NoWarn>\r
-    <UseVSHostingProcess>false</UseVSHostingProcess>\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
-  </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
-  </PropertyGroup>\r
-  <PropertyGroup>\r
-    <SignAssembly>true</SignAssembly>\r
-  </PropertyGroup>\r
-  <PropertyGroup>\r
-    <AssemblyOriginatorKeyFile>Tizen.Applications.WidgetApplication.snk</AssemblyOriginatorKeyFile>\r
-  </PropertyGroup>\r
-  <ItemGroup>\r
-    <None Include="Tizen.Applications.WidgetApplication.project.json" />\r
-  </ItemGroup>\r
-  <ItemGroup>\r
-    <Compile Include="Interop\Interop.Libraries.cs" />\r
-    <Compile Include="Interop\Interop.Widget.cs" />\r
-    <Compile Include="Properties\AssemblyInfo.cs" />\r
-    <Compile Include="Tizen.Applications\WidgetApplication.cs" />\r
-    <Compile Include="Tizen.Applications\WidgetBase.cs" />\r
-    <Compile Include="Tizen.Applications.CoreBackend\WidgetCoreBackend.cs" />\r
-    <Compile Include="Tizen.Applications\WidgetType.cs" />\r
-    <Compile Include="Tizen.Applications\WidgetWindow.cs" />\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 Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <TargetFramework>netstandard1.3</TargetFramework>
+    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+    <SignAssembly>True</SignAssembly>
+    <AssemblyOriginatorKeyFile>Tizen.Applications.WidgetApplication.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <PackageReference Include="Tizen" Version="1.0.5" />
+    <PackageReference Include="Tizen.Applications.Common" Version="1.5.8" />
+    <PackageReference Include="ElmSharp" Version="1.1.0" />
+  </ItemGroup>
+
 </Project>
\ No newline at end of file
index f27be2f..b94b8ae 100755 (executable)
                <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
                <description>Provides the Widget Application API for Tizen.Net</description>
                <dependencies>
-                       <dependency id="Tizen" version="1.0.2" />
-                       <dependency id="Tizen.Applications.Common" version="1.4.2" />
-                       <dependency id="ElmSharp" version="1.0.14" />
+                       <dependency id="Tizen" version="1.0.5" />
+                       <dependency id="Tizen.Applications.Common" version="1.5.8" />
+                       <dependency id="ElmSharp" version="1.1.0" />
                </dependencies>
        </metadata>
-       <files>
-               <file src="bin/$Configuration$/Tizen.Applications.WidgetApplication.dll" target="lib/netstandard1.3" />
-       </files>
 </package>
diff --git a/src/Tizen.Applications.WidgetApplication/Tizen.Applications.WidgetApplication.project.json b/src/Tizen.Applications.WidgetApplication/Tizen.Applications.WidgetApplication.project.json
deleted file mode 100755 (executable)
index 3e9c80d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-{\r
-  "dependencies": {\r
-    "ElmSharp": "1.1.0-*",\r
-    "NETStandard.Library": "1.6.0",\r
-    "Tizen": "1.0.2",\r
-    "Tizen.Applications.Common": "1.4.2"\r
-  },\r
-  "frameworks": {\r
-    "netstandard1.3": {}\r
-  }\r
-}
\ No newline at end of file