Migration to visual studio 2017
authorJiung Yu <jiung.yu@samsung.com>
Mon, 29 May 2017 04:31:29 +0000 (13:31 +0900)
committerJiung Yu <jiung.yu@samsung.com>
Mon, 29 May 2017 04:41:56 +0000 (13:41 +0900)
Description:
Replace .csproj file with new format
Remove existing unnecessary files
Fix .nuspec file

Change-Id: I112de2827ea7fdfea94fe49408c4c3357644c9ae
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
src/Tizen.Network.Connection/Properties/AssemblyInfo.cs [deleted file]
src/Tizen.Network.Connection/Tizen.Network.Connection.csproj [changed mode: 0755->0644]
src/Tizen.Network.Connection/Tizen.Network.Connection.nuspec
src/Tizen.Network.Connection/Tizen.Network.Connection.project.json [deleted file]

diff --git a/src/Tizen.Network.Connection/Properties/AssemblyInfo.cs b/src/Tizen.Network.Connection/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 3d7bbbd..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;\r
-using System.Runtime.CompilerServices;\r
-using System.Runtime.InteropServices;\r
-\r
-// General Information about an assembly is controlled through the following\r
-// set of attributes. Change these attribute values to modify the information\r
-// associated with an assembly.\r
-[assembly: AssemblyTitle("Tizen.Network.Connection")]\r
-[assembly: AssemblyDescription("")]\r
-[assembly: AssemblyConfiguration("")]\r
-[assembly: AssemblyCompany("Samsung Electronics")]\r
-[assembly: AssemblyProduct("Tizen.Network.Connection")]\r
-[assembly: AssemblyCopyright("Copyright © Samsung Electronics 2016")]\r
-[assembly: AssemblyTrademark("")]\r
-[assembly: AssemblyCulture("")]\r
-\r
-// Setting ComVisible to false makes the types in this assembly not visible\r
-// to COM components.  If you need to access a type in this assembly from\r
-// COM, set the ComVisible attribute to true on that type.\r
-[assembly: ComVisible(false)]\r
-\r
-// The following GUID is for the ID of the typelib if this project is exposed to COM\r
-[assembly: Guid("d9b186b9-bff3-4bd5-9dc0-3706390caaf9")]\r
-\r
-// Version information for an assembly consists of the following four values:\r
-//\r
-//      Major Version\r
-//      Minor Version\r
-//      Build Number\r
-//      Revision\r
-//\r
-// You can specify all the values or you can default the Build and Revision Numbers\r
-// by using the '*' as shown below:\r
-// [assembly: AssemblyVersion("1.0.*")]\r
-[assembly: AssemblyVersion("1.0.0.0")]\r
-[assembly: AssemblyFileVersion("1.0.0.0")]\r
old mode 100755 (executable)
new mode 100644 (file)
index dfbb11c..14ca15f
@@ -1,83 +1,17 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{D9B186B9-BFF3-4BD5-9DC0-3706390CAAF9}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Tizen.Network.Connection</RootNamespace>
-    <AssemblyName>Tizen.Network.Connection</AssemblyName>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup>
-    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
-    <TargetFrameworkVersion>v1.3</TargetFrameworkVersion>
-    <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>
-    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
-    <NoStdLib>true</NoStdLib>
-    <NoWarn>$(NoWarn);1701;1702</NoWarn>
-  </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.Network.Connection.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
   </PropertyGroup>
+
   <ItemGroup>
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Interop\Interop.Connection.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Tizen.Network.Connection\CellularProfile.cs" />
-    <Compile Include="Tizen.Network.Connection\ConnectionError.cs" />
-    <Compile Include="Tizen.Network.Connection\ConnectionInternalManager.cs" />
-    <Compile Include="Tizen.Network.Connection\ConnectionManager.cs" />
-    <Compile Include="Tizen.Network.Connection\ConnectionProfile.cs" />
-    <Compile Include="Tizen.Network.Connection\ConnectionProfileManager.cs" />
-    <Compile Include="Tizen.Network.Connection\ConnectionTypes.cs" />
-    <Compile Include="Tizen.Network.Connection\IAddressInformation.cs" />
-    <Compile Include="Tizen.Network.Connection\WiFiProfile.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="Tizen.Network.Connection.nuspec" />
-    <None Include="Tizen.Network.Connection.project.json" />
-    <None Include="Tizen.Network.Connection.snk" />
+    <PackageReference Include="System.Threading.Thread" Version="4.3.0" />
+    <PackageReference Include="Tizen" Version="1.0.5" />
   </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 d0696e3..8d7b189 100644 (file)
                <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
        <description>Provides the Connection APIs for Tizen.Network.Connection</description>
                <dependencies>
-                       <dependency id="Tizen" version="1.0.2" />
+                       <dependency id="Tizen" version="1.0.5" />
                </dependencies>
        </metadata>
-       <files>
-               <file src="bin/$Configuration$/Tizen.Network.Connection.dll" target="lib/netstandard1.3" />
-       </files>
 </package>
diff --git a/src/Tizen.Network.Connection/Tizen.Network.Connection.project.json b/src/Tizen.Network.Connection/Tizen.Network.Connection.project.json
deleted file mode 100755 (executable)
index 416e53e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "dependencies": {
-    "NETStandard.Library": "1.6.1",
-    "System.Threading.Thread": "4.0.0",
-    "Tizen": "1.0.3"
-  },
-  "frameworks": {
-    "netstandard1.3": {}
-  }
-}
\ No newline at end of file