Migration to visual studio 2017
authorSeungha Son <seungha.son@samsung.com>
Fri, 19 May 2017 05:19:47 +0000 (14:19 +0900)
committerSon seungha <seungha.son@samsung.com>
Mon, 29 May 2017 23:33:31 +0000 (23:33 +0000)
 - Replace .csproj file with new format
 - Remove existing unnecessary files
 - Fix .nuspec file

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

src/Tizen.Applications.DataControl/Properties/AssemblyInfo.cs [deleted file]
src/Tizen.Applications.DataControl/Tizen.Applications.DataControl.csproj
src/Tizen.Applications.DataControl/Tizen.Applications.DataControl.nuspec
src/Tizen.Applications.DataControl/Tizen.Applications.DataControl.project.json [deleted file]
src/Tizen.Applications.DataControl/Tizen.Applications.DataControl.sln [new file with mode: 0755]

diff --git a/src/Tizen.Applications.DataControl/Properties/AssemblyInfo.cs b/src/Tizen.Applications.DataControl/Properties/AssemblyInfo.cs
deleted file mode 100755 (executable)
index 3cfe310..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Tizen.Applications.DataControl")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Tizen.Applications.DataControl")]
-[assembly: AssemblyCopyright("Copyright ©  2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components.  If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("6f7e4ff6-4cea-4bb6-87b4-56498d6f3b24")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 3b0b438..0274e74 100755 (executable)
@@ -1,95 +1,16 @@
-<?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>{6F7E4FF6-4CEA-4BB6-87B4-56498D6F3B24}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Tizen.Applications.DataControl</RootNamespace>
-    <AssemblyName>Tizen.Applications.DataControl</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>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </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>
-    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-  </PropertyGroup>
-  <PropertyGroup>
-    <SignAssembly>true</SignAssembly>
-  </PropertyGroup>
+<Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
+    <TargetFramework>netstandard1.3</TargetFramework>
+    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+    <SignAssembly>True</SignAssembly>
     <AssemblyOriginatorKeyFile>Tizen.Application.DataControl.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
   </PropertyGroup>
   <ItemGroup>
-    <None Include="Tizen.Application.DataControl.snk" />
-    <None Include="Tizen.Applications.DataControl.project.json" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Interop\Interop.DataControl.cs" />
-    <Compile Include="Tizen.Applications.DataControl\ICursor.cs" />
-    <Compile Include="Tizen.Applications.DataControl\Consumer.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Tizen.Applications.DataControl\BulkData.cs" />
-    <Compile Include="Tizen.Applications.DataControl.Core\CloneCursorCore.cs" />
-    <Compile Include="Tizen.Applications.DataControl\ErrorFactory.cs" />
-    <Compile Include="Tizen.Applications.DataControl\MatrixCursor.cs" />
-    <Compile Include="Tizen.Applications.DataControl\Provider.cs" />
-    <Compile Include="Tizen.Applications.DataControl\Types.cs" />
-    <Compile Include="Tizen.Applications.DataControl\Results.cs" />
+    <PackageReference Include="System.Diagnostics.Process" Version="4.3.0" />
+    <PackageReference Include="System.Threading.Thread" Version="4.3.0" />
+    <PackageReference Include="Tizen" Version="1.0.5" />
+    <PackageReference Include="Tizen.Applications.Common" Version="1.5.7" />
   </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>
-  <ProjectExtensions>
-    <VisualStudio>
-      <UserProperties Tizen_1Applications_1DataControl_1project_1json__JSONSchema="http://json.schemastore.org/sarif-1.0.0.json" />
-    </VisualStudio>
-  </ProjectExtensions>
 </Project>
index 96196b1..5179544 100755 (executable)
                <description>Provides the Data Control API for Tizen.Net</description>
                <dependencies>
                        <dependency id="Tizen" version="1.0.5" />
-                       <dependency id="Tizen.Applications.Common" version="1.5.6" />
+                       <dependency id="Tizen.Applications.Common" version="1.5.7" />
                </dependencies>
        </metadata>
-       <files>
-               <file src="bin/$Configuration$/Tizen.Applications.DataControl.dll" target="lib/netstandard1.3" />
-       </files>
 </package>
diff --git a/src/Tizen.Applications.DataControl/Tizen.Applications.DataControl.project.json b/src/Tizen.Applications.DataControl/Tizen.Applications.DataControl.project.json
deleted file mode 100755 (executable)
index 93ca4fb..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-  "dependencies": {
-    "NETStandard.Library": "1.6.0",
-    "System.Diagnostics.Process": "4.1.0",
-    "System.Threading.Thread": "4.3.0",
-    "Tizen": "1.0.5",
-    "Tizen.Applications.Common": "1.5.6"
-  },
-  "frameworks": {
-    "netstandard1.3": {}
-  }
-}
\ No newline at end of file
diff --git a/src/Tizen.Applications.DataControl/Tizen.Applications.DataControl.sln b/src/Tizen.Applications.DataControl/Tizen.Applications.DataControl.sln
new file mode 100755 (executable)
index 0000000..b68ed82
--- /dev/null
@@ -0,0 +1,21 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.26430.4
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Applications.DataControl", "Tizen.Applications.DataControl.csproj", "{2EC826C0-E07A-4A53-8FC6-322BD2F1228F}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {2EC826C0-E07A-4A53-8FC6-322BD2F1228F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {2EC826C0-E07A-4A53-8FC6-322BD2F1228F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {2EC826C0-E07A-4A53-8FC6-322BD2F1228F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {2EC826C0-E07A-4A53-8FC6-322BD2F1228F}.Release|Any CPU.Build.0 = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal