summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Son <seungha.son@samsung.com>2017-05-22 11:00:29 +0900
committerSeungha Son <seungha.son@samsung.com>2017-05-22 11:02:10 +0900
commitc5a6c6396bac4480f096c7d3800d48ee97b961e6 (patch)
tree70b720c1c77d0973d0484a9c5696b2ce6e077669
parent33f99c37028ac6e01b187fedd65db0f2f20ed27f (diff)
downloadmime-type-c5a6c6396bac4480f096c7d3800d48ee97b961e6.tar.gz
mime-type-c5a6c6396bac4480f096c7d3800d48ee97b961e6.tar.bz2
mime-type-c5a6c6396bac4480f096c7d3800d48ee97b961e6.zip
- Replace .csproj file with new format - Remove existing unnecessary files - Fix .nuspec file Signed-off-by: Seungha Son <seungha.son@samsung.com> Change-Id: Iea00bf4a5c8db7ba5012367a21dd87c938dbf7c2
-rwxr-xr-xTizen.Content.MimeType/Properties/AssemblyInfo.cs36
-rwxr-xr-x[-rw-r--r--]Tizen.Content.MimeType/Tizen.Content.MimeType.csproj94
-rwxr-xr-xTizen.Content.MimeType/Tizen.Content.MimeType.nuspec5
-rwxr-xr-xTizen.Content.MimeType/Tizen.Content.MimeType.project.json9
4 files changed, 14 insertions, 130 deletions
diff --git a/Tizen.Content.MimeType/Properties/AssemblyInfo.cs b/Tizen.Content.MimeType/Properties/AssemblyInfo.cs
deleted file mode 100755
index 35f4acf..0000000
--- a/Tizen.Content.MimeType/Properties/AssemblyInfo.cs
+++ /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.Content.MimeType")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Tizen.Content.MimeType")]
-[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
-[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("99a90243-7db1-4704-a078-3529c2da4e81")]
-
-// 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")]
diff --git a/Tizen.Content.MimeType/Tizen.Content.MimeType.csproj b/Tizen.Content.MimeType/Tizen.Content.MimeType.csproj
index 32fb49a..d5069f8 100644..100755
--- a/Tizen.Content.MimeType/Tizen.Content.MimeType.csproj
+++ b/Tizen.Content.MimeType/Tizen.Content.MimeType.csproj
@@ -1,81 +1,13 @@
-<?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>{3EE5842E-7004-43BC-825B-29FFDEC18D4E}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Tizen.Content.MimeType</RootNamespace>
- <AssemblyName>Tizen.Content.MimeType</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>
- </PropertyGroup>
- <PropertyGroup>
- <AssemblyOriginatorKeyFile>Tizen.Content.MimeType.snk</AssemblyOriginatorKeyFile>
- </PropertyGroup>
- <ItemGroup>
- <Compile Include="Interop\Interop.Glib.cs" />
- <Compile Include="Interop\Interop.Libc.cs" />
- <Compile Include="Interop\Interop.Libraries.cs" />
- <Compile Include="Interop\Interop.Mime.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="Tizen.Content.MimeType\MimeExceptionFactory.cs" />
- <Compile Include="Tizen.Content.MimeType\MimeUtil.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="Tizen.Content.MimeType.nuspec" />
- <None Include="Tizen.Content.MimeType.project.json" />
- <None Include="Tizen.Content.MimeType.snk" />
- </ItemGroup>
- <Import Project="$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets" Condition="Exists('$(MSBuildExtensionsPath)\Tizen\Tizen.CSharp.GBS.targets')" />
- <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 Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <TargetFramework>netstandard1.3</TargetFramework>
+ <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+ <SignAssembly>True</SignAssembly>
+ <AssemblyOriginatorKeyFile>Tizen.Content.MimeType.snk</AssemblyOriginatorKeyFile>
+ <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
+ <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
+ </PropertyGroup>
+ <ItemGroup>
+ <PackageReference Include="Tizen" Version="1.0.5" />
+ </ItemGroup>
+</Project>
diff --git a/Tizen.Content.MimeType/Tizen.Content.MimeType.nuspec b/Tizen.Content.MimeType/Tizen.Content.MimeType.nuspec
index 63baca4..5f9c58d 100755
--- a/Tizen.Content.MimeType/Tizen.Content.MimeType.nuspec
+++ b/Tizen.Content.MimeType/Tizen.Content.MimeType.nuspec
@@ -11,10 +11,7 @@
<copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
<description>Provides the MimeType API for Tizen.Net</description>
<dependencies>
- <dependency id="Tizen" version="1.0.2" />
+ <dependency id="Tizen" version="1.0.5" />
</dependencies>
</metadata>
- <files>
- <file src="bin/$Configuration$/Tizen.Content.MimeType.dll" target="lib/netstandard1.3" />
- </files>
</package>
diff --git a/Tizen.Content.MimeType/Tizen.Content.MimeType.project.json b/Tizen.Content.MimeType/Tizen.Content.MimeType.project.json
deleted file mode 100755
index a4c6be0..0000000
--- a/Tizen.Content.MimeType/Tizen.Content.MimeType.project.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "dependencies": {
- "NETStandard.Library": "1.6.0",
- "Tizen": "1.0.2"
- },
- "frameworks": {
- "netstandard1.3": {}
- }
-} \ No newline at end of file