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

Change-Id: Ia297aa329bfd06a0b4f9039b836a22a27c244af8
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
src/Tizen.Network.WiFi/Properties/AssemblyInfo.cs [deleted file]
src/Tizen.Network.WiFi/Tizen.Network.WiFi.csproj
src/Tizen.Network.WiFi/Tizen.Network.WiFi.nuspec
src/Tizen.Network.WiFi/Tizen.Network.WiFi.project.json [deleted file]

diff --git a/src/Tizen.Network.WiFi/Properties/AssemblyInfo.cs b/src/Tizen.Network.WiFi/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 837f185..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.WiFi")]\r
-[assembly: AssemblyDescription("")]\r
-[assembly: AssemblyConfiguration("")]\r
-[assembly: AssemblyCompany("Samsung Electronics")]\r
-[assembly: AssemblyProduct("Tizen.Network.WiFi")]\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("9a2167e1-3b35-4da9-ab78-8e699302baa7")]\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
index 1801fa7..0218275 100644 (file)
@@ -1,90 +1,18 @@
-<?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>{9A2167E1-3B35-4DA9-AB78-8E699302BAA7}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Tizen.Network.WiFi</RootNamespace>
-    <AssemblyName>Tizen.Network.WiFi</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.WiFi.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
   </PropertyGroup>
+
   <ItemGroup>
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Interop\Interop.WiFi.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Tizen.Network.WiFi\ConnectionStateChangedEventArgs.cs" />
-    <Compile Include="Tizen.Network.WiFi\DeviceStateChangedEventArgs.cs" />
-    <Compile Include="Tizen.Network.WiFi\IWiFiEap.cs" />
-    <Compile Include="Tizen.Network.WiFi\RssiLevelChangedEventArgs.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiAddressInformation.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiAP.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiConfiguration.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiEap.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiEapConfiguration.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiEnumerations.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiErrorFactory.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiManager.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiManagerImpl.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiNetwork.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiNetworkChange.cs" />
-    <Compile Include="Tizen.Network.WiFi\WiFiSecurity.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="Tizen.Network.WiFi.nuspec" />
-    <None Include="Tizen.Network.WiFi.project.json" />
-    <None Include="Tizen.Network.WiFi.snk" />
+    <PackageReference Include="System.Threading.Thread" Version="4.3.0" />
+    <PackageReference Include="Tizen" Version="1.0.5" />
+    <PackageReference Include="Tizen.Network.Connection" Version="1.0.10" />
   </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>
index 313e17d..4d77492 100644 (file)
        <description>Provides the Wi-Fi APIs for Tizen.Network.WiFi</description>
                <dependencies>
                        <dependency id="Tizen" version="1.0.2" />
-                       <dependency id="Tizen.Network.Connection" version="1.0.2" />
+                       <dependency id="Tizen.Network.Connection" version="1.0.10" />
                </dependencies>
        </metadata>
-       <files>
-               <file src="bin/$Configuration$/Tizen.Network.WiFi.dll" target="lib/netstandard1.3" />
-       </files>
 </package>
diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi.project.json b/src/Tizen.Network.WiFi/Tizen.Network.WiFi.project.json
deleted file mode 100644 (file)
index 94f003c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-{
-  "dependencies": {
-    "NETStandard.Library": "1.6.1",
-    "System.Threading.Thread": "4.3.0",
-    "Tizen": "1.0.2",
-    "Tizen.Network.Connection": "1.0.10"
-  },
-  "frameworks": {
-    "netstandard1.3": {}
-  }
-}