Merge packaging information to csproj
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 8 Jun 2017 00:49:12 +0000 (09:49 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Thu, 8 Jun 2017 00:49:12 +0000 (09:49 +0900)
Change-Id: Iea5708bc6c26c71914c3da336be066e158279a26
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
.gitignore [new file with mode: 0644]
packaging/csapi-uix-inputmethod.spec
src/Tizen.Uix.InputMethod/Properties/AssemblyInfo.cs [deleted file]
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.csproj [changed mode: 0755->0644]
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.nuspec [deleted file]
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.project.json [deleted file]
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.sln [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..46619d5
--- /dev/null
@@ -0,0 +1,7 @@
+bin/
+obj/
+*.exe
+*.dll
+*.csproj.user
+*.lock.json
+.vs/
index ab21495..89e202e 100755 (executable)
@@ -30,7 +30,7 @@ cp %{SOURCE1} .
 %build
 for ASM in %{Assemblies}; do
 %dotnet_build $ASM
-%dotnet_pack $ASM/$ASM.nuspec %{version}
+%dotnet_pack $ASM
 done
 
 %install
diff --git a/src/Tizen.Uix.InputMethod/Properties/AssemblyInfo.cs b/src/Tizen.Uix.InputMethod/Properties/AssemblyInfo.cs
deleted file mode 100755 (executable)
index 06bf6fe..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-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.Uix.InputMethod")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Tizen.Uix.InputMethod")]
-[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("081c204a-2267-4f10-8751-e3afe5c30ae9")]
-
-// 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")]
old mode 100755 (executable)
new mode 100644 (file)
index b53c323..a2e0463
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project Sdk="Microsoft.NET.Sdk">
+
   <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{081C204A-2267-4F10-8751-E3AFE5C30AE9}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Tizen.Uix.InputMethod</RootNamespace>
-    <AssemblyName>Tizen.Uix.InputMethod</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>
-    <Prefer32Bit>false</Prefer32Bit>
-  </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>
-    <Prefer32Bit>false</Prefer32Bit>
-  </PropertyGroup>
-  <PropertyGroup>
-    <SignAssembly>true</SignAssembly>
+    <Version>1.0.2</Version>
+    <Authors>Samsung Electronics</Authors>
+    <Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>
+    <Description>InputMethod API for Tizen .NET</Description>
+    <PackageProjectUrl>https://www.tizen.org/</PackageProjectUrl>
+    <PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
+    <PackageIconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</PackageIconUrl>
   </PropertyGroup>
+
   <PropertyGroup>
+    <TargetFramework>netstandard1.6</TargetFramework>
+    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+    <SignAssembly>True</SignAssembly>
     <AssemblyOriginatorKeyFile>Tizen.Uix.InputMethod.snk</AssemblyOriginatorKeyFile>
+    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
   </PropertyGroup>
+  
   <ItemGroup>
-    <Compile Include="Interop\Interop.EinaList.cs" />
-    <Compile Include="Interop\Interop.InputMethod.cs" />
-    <Compile Include="Interop\Interop.Libraries.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\AccessibilityStateChangedEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\CursorPositionUpdatedEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\DisplayLanaguageChangedEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\OptionWindow.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\EditorWindow.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\FocusedInEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\FocusedOutEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\DataSetEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\InputMethodContext.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\InputMethodDeviceInformation.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\InputMethodEditor.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\InputMethodExceptionFactory.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\LanguageSetSetEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\LayoutSetEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\OptionWindowCreatedEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\OptionWindowDestroyedEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\PreEditAttribute.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\ReturnKeyStateSetEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\ReturnKeyTypeSetEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\RotationChangedEventArgs.cs" />
-    <Compile Include="Tizen.Uix.InputMethod\SurroundingTextUpdatedArgs.cs" />
+    <PackageReference Include="ElmSharp" Version="1.2.0" />
+    <PackageReference Include="Tizen" Version="1.0.5" />
   </ItemGroup>
-  <ItemGroup>
-    <None Include="Tizen.Uix.InputMethod.nuspec" />
-    <None Include="Tizen.Uix.InputMethod.project.json" />
-    <None Include="Tizen.Uix.InputMethod.snk" />
-  </ItemGroup>
-  <ItemGroup />
-  <ItemGroup>
-    <Reference Include="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
-  </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>
diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.nuspec b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.nuspec
deleted file mode 100755 (executable)
index 8697d22..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<package>
-  <metadata>
-    <id>Tizen.Uix.InputMethod</id>
-    <version>$version$</version>
-    <authors>Samsung Electronics</authors>
-    <requireLicenseAcceptance>false</requireLicenseAcceptance>
-    <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
-    <projectUrl>https://www.tizen.org/</projectUrl>
-    <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
-    <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
-    <description>InputMethod API for Tizen.Net</description>
-    <dependencies>
-      <dependency id="Tizen" version="1.0.3" />
-    </dependencies>
-  </metadata>
-  <files>
-    <file src="bin/$Configuration$/Tizen.Uix.InputMethod.dll" target="lib/netstandard1.3" />
-  </files>
-</package>
diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.project.json b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.project.json
deleted file mode 100755 (executable)
index 6d07e04..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "dependencies": {
-    "ElmSharp": "1.0.14",
-    "NETStandard.Library": "1.6.0",
-    "Tizen": "1.0.1"
-  },
-  "frameworks": {
-    "netstandard1.3": {}
-  }
-}
\ No newline at end of file
diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.sln b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.sln
new file mode 100644 (file)
index 0000000..6d36403
--- /dev/null
@@ -0,0 +1,22 @@
+\r
+Microsoft Visual Studio Solution File, Format Version 12.00\r
+# Visual Studio 15\r
+VisualStudioVersion = 15.0.26430.12\r
+MinimumVisualStudioVersion = 10.0.40219.1\r
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.Uix.InputMethod", "Tizen.Uix.InputMethod.csproj", "{3E740878-363F-4150-B666-E72BF271DFF0}"\r
+EndProject\r
+Global\r
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+               Debug|Any CPU = Debug|Any CPU\r
+               Release|Any CPU = Release|Any CPU\r
+       EndGlobalSection\r
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+               {3E740878-363F-4150-B666-E72BF271DFF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {3E740878-363F-4150-B666-E72BF271DFF0}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {3E740878-363F-4150-B666-E72BF271DFF0}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {3E740878-363F-4150-B666-E72BF271DFF0}.Release|Any CPU.Build.0 = Release|Any CPU\r
+       EndGlobalSection\r
+       GlobalSection(SolutionProperties) = preSolution\r
+               HideSolutionNode = FALSE\r
+       EndGlobalSection\r
+EndGlobal\r