summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Son <seungha.son@samsung.com>2017-05-24 11:27:22 +0900
committerSeungha Son <seungha.son@samsung.com>2017-05-24 11:38:41 +0900
commit0a289b80f2a8f32dd8d2782a9f0633d6c4a2d171 (patch)
tree3c4057173b1c04f8ecf996a34f6caacc6fbcbf3f
parentd155770a700a738eb8515e90c49e5c5ad2f301a8 (diff)
downloadwidget-viewer-0a289b80f2a8f32dd8d2782a9f0633d6c4a2d171.tar.gz
widget-viewer-0a289b80f2a8f32dd8d2782a9f0633d6c4a2d171.tar.bz2
widget-viewer-0a289b80f2a8f32dd8d2782a9f0633d6c4a2d171.zip
Migration to visual studio 2017
- Replace .csproj file with new format - Remove existing unnecessary files - Fix .nuspec file Signed-off-by: Seungha Son <seungha.son@samsung.com> Change-Id: Icbcb30a11990f04f3ab3963f60fa11c2ea01d57a
-rwxr-xr-xTizen.Applications.RemoteView/Properties/AssemblyInfo.cs20
-rwxr-xr-xTizen.Applications.RemoteView/Tizen.Applications.RemoteView.csproj97
-rwxr-xr-xTizen.Applications.RemoteView/Tizen.Applications.RemoteView.nuspec5
-rwxr-xr-xTizen.Applications.RemoteView/Tizen.Applications.RemoteView.project.json10
4 files changed, 18 insertions, 114 deletions
diff --git a/Tizen.Applications.RemoteView/Properties/AssemblyInfo.cs b/Tizen.Applications.RemoteView/Properties/AssemblyInfo.cs
deleted file mode 100755
index e28baeb..0000000
--- a/Tizen.Applications.RemoteView/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("Tizen.Applications.RemoteView")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Samsung Electronics")]
-[assembly: AssemblyProduct("Tizen.Applications")]
-[assembly: AssemblyCopyright("Copyright (c) 2017 Samsung Electronics Co., Ltd")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(true)]
-
-[assembly: Guid("717B264A-B455-4387-86E9-4740CB7F9A78")]
-
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.csproj b/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.csproj
index 7ecc2b3..cfc0ec2 100755
--- a/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.csproj
+++ b/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.csproj
@@ -1,80 +1,17 @@
-<?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>{B96DCE41-7A6D-45A5-8BB8-E035186B5092}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Tizen.Applications.RemoteView</RootNamespace>
- <AssemblyName>Tizen.Applications.RemoteView</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>
- </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>
- <PropertyGroup>
- <AssemblyOriginatorKeyFile>Tizen.Applications.RemoteView.snk</AssemblyOriginatorKeyFile>
- </PropertyGroup>
- <ItemGroup>
- <None Include="Tizen.Applications.RemoteView.project.json" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Interop\Interop.Libraries.cs" />
- <Compile Include="Interop\Interop.WidgetViewerEvas.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="Tizen.Applications\RemoteView.cs" />
- <Compile Include="Tizen.Applications\RemoteWindow.cs" />
- <Compile Include="Tizen.Applications\RemoteViewFactory.cs" />
- </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>
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <TargetFramework>netstandard1.3</TargetFramework>
+ <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+ <SignAssembly>True</SignAssembly>
+ <AssemblyOriginatorKeyFile>Tizen.Applications.RemoteView.snk</AssemblyOriginatorKeyFile>
+ <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+ <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Tizen" Version="1.0.5" />
+ <PackageReference Include="ElmSharp" Version="1.1.0" />
+ </ItemGroup>
+
+</Project>
diff --git a/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.nuspec b/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.nuspec
index 2b06067..51ae07c 100755
--- a/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.nuspec
+++ b/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.nuspec
@@ -11,11 +11,8 @@
<copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
<description>Provides the Widget Viewer API for Tizen.Net</description>
<dependencies>
- <dependency id="Tizen" version="1.0.2" />
+ <dependency id="Tizen" version="1.0.5" />
<dependency id="ElmSharp" version="1.1.0" />
</dependencies>
</metadata>
- <files>
- <file src="bin/$Configuration$/Tizen.Applications.RemoteView.dll" target="lib/netstandard1.3" />
- </files>
</package>
diff --git a/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.project.json b/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.project.json
deleted file mode 100755
index 558bb46..0000000
--- a/Tizen.Applications.RemoteView/Tizen.Applications.RemoteView.project.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "dependencies": {
- "ElmSharp": "1.1.0-*",
- "NETStandard.Library": "1.6.0",
- "Tizen": "1.0.2"
- },
- "frameworks": {
- "netstandard1.3": {}
- }
-} \ No newline at end of file