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

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

diff --git a/src/Tizen.Network.WiFiDirect/Properties/AssemblyInfo.cs b/src/Tizen.Network.WiFiDirect/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index ca90f33..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.WiFiDirect")]\r
-[assembly: AssemblyDescription("")]\r
-[assembly: AssemblyConfiguration("")]\r
-[assembly: AssemblyCompany("Samsung Electronics")]\r
-[assembly: AssemblyProduct("Tizen.Network.WiFiDirect")]\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("08c34d73-7986-4e6e-8c21-5343c7feec86")]\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 83600d1..faf9546
@@ -1,82 +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>{08C34D73-7986-4E6E-8C21-5343C7FEEC86}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Tizen.Network.WiFiDirect</RootNamespace>
-    <AssemblyName>Tizen.Network.WiFiDirect</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.WiFiDirect.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
   </PropertyGroup>
+
   <ItemGroup>
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Interop\Interop.WiFiDirect.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Tizen.Network.WiFiDirect\WiFiDirectData.cs" />
-    <Compile Include="Tizen.Network.WiFiDirect\WiFiDirectEnumerations.cs" />
-    <Compile Include="Tizen.Network.WiFiDirect\WiFiDirectError.cs" />
-    <Compile Include="Tizen.Network.WiFiDirect\WiFiDirectEventArgs.cs" />
-    <Compile Include="Tizen.Network.WiFiDirect\WiFiDirectManager.cs" />
-    <Compile Include="Tizen.Network.WiFiDirect\WiFiDirectManagerImpl.cs" />
-    <Compile Include="Tizen.Network.WiFiDirect\WiFiDirectPeer.cs" />
-    <Compile Include="Tizen.Network.WiFiDirect\WiFiDirectPersistentGroup.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="Tizen.Network.WiFiDirect.nuspec" />
-    <None Include="Tizen.Network.WiFiDirect.project.json" />
-    <None Include="Tizen.Network.WiFiDirect.snk" />
+    <PackageReference Include="Tizen" Version="1.0.5" />
+    <PackageReference Include="System.Threading.Thread" Version="4.3.0" />
   </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 b318a4a..0d977b8 100644 (file)
                <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
        <description>Provides the Wi-Fi Direct APIs for Tizen.Network.WiFiDirect</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.WiFiDirect.dll" target="lib/netstandard1.3" />
-       </files>
 </package>
diff --git a/src/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect.project.json b/src/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect.project.json
deleted file mode 100755 (executable)
index f463d9b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-{\r
-  "dependencies": {\r
-    "NETStandard.Library": "1.6.0",\r
-    "System.Threading.Thread": "4.3.0",\r
-    "Tizen": "1.0.2"\r
-  },\r
-  "frameworks": {\r
-    "netstandard1.3": {}\r
-  }\r
-}\r