From 630ff6f9774504efe524e5deb598ea6a6a01efd2 Mon Sep 17 00:00:00 2001 From: Jason Nelson Date: Mon, 27 Aug 2018 07:58:38 -0700 Subject: [PATCH] [SL.Core] Cleanup AssemblyInfo add SUPPORT_MATHF symbol --- src/SixLabors.Core/MathF.cs | 2 +- src/SixLabors.Core/Properties/AssemblyInfo.cs | 29 ------------------- src/SixLabors.Core/SixLabors.Core.csproj | 29 ++++++++----------- 3 files changed, 13 insertions(+), 47 deletions(-) diff --git a/src/SixLabors.Core/MathF.cs b/src/SixLabors.Core/MathF.cs index 1329dbdae..b0d760ade 100644 --- a/src/SixLabors.Core/MathF.cs +++ b/src/SixLabors.Core/MathF.cs @@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; -#if NETCOREAPP2_0 || NETCOREAPP2_1 +#if SUPPORTS_MATHF [assembly: TypeForwardedTo(typeof(System.MathF))] #else namespace System diff --git a/src/SixLabors.Core/Properties/AssemblyInfo.cs b/src/SixLabors.Core/Properties/AssemblyInfo.cs index 96a40f6f6..5402a1af1 100644 --- a/src/SixLabors.Core/Properties/AssemblyInfo.cs +++ b/src/SixLabors.Core/Properties/AssemblyInfo.cs @@ -1,37 +1,8 @@ // Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. -using System.Reflection; -using System.Resources; using System.Runtime.CompilerServices; -// 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("SixLabors.Core")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Six Labors")] -[assembly: AssemblyProduct("SixLabors.Core")] -[assembly: AssemblyCopyright("Copyright (c) Six Labors and contributors.")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: NeutralResourcesLanguage("en")] - -// 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("0.1.0")] -[assembly: AssemblyFileVersion("0.1.0")] -[assembly: AssemblyInformationalVersion("0.1.0-alpha02")] - // Ensure the internals can be tested. [assembly: InternalsVisibleTo("SixLabors.Core.Tests")] diff --git a/src/SixLabors.Core/SixLabors.Core.csproj b/src/SixLabors.Core/SixLabors.Core.csproj index 8215664dc..b03eac761 100644 --- a/src/SixLabors.Core/SixLabors.Core.csproj +++ b/src/SixLabors.Core/SixLabors.Core.csproj @@ -16,16 +16,7 @@ http://www.apache.org/licenses/LICENSE-2.0 git https://github.com/SixLabors/Core - false - false - false - false - false - false - false - false - false - false + Copyright (c) Six Labors and contributors. full SixLabors @@ -34,24 +25,28 @@ ..\SixLabors.ruleset + + $(DefineConstants);SUPPORTS_MATHF + + - - - - - + All + + + + - + - + \ No newline at end of file