mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
7.1 KiB
112 lines
7.1 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project>
|
|
|
|
<!--
|
|
Directory.Build.props is automatically picked up and imported by
|
|
Microsoft.Common.props. This file needs to exist, even if empty so that
|
|
files in the parent directory tree, with the same name, are not imported
|
|
instead. The import fairly early and only Sdk.props will have been imported
|
|
beforehand. We also don't need to add ourselves to MSBuildAllProjects, as
|
|
that is done by the file that imports us.
|
|
-->
|
|
|
|
<!-- Default settings that are used by other settings -->
|
|
<PropertyGroup>
|
|
<BaseArtifactsPath>$(MSBuildThisFileDirectory)artifacts/</BaseArtifactsPath>
|
|
<BaseArtifactsPathSuffix>$(ImageSharpProjectCategory)/$(MSBuildProjectName)</BaseArtifactsPathSuffix>
|
|
<RepositoryUrl Condition="'$(RepositoryUrl)' == ''">https://github.com/SixLabors/ImageSharp/</RepositoryUrl>
|
|
</PropertyGroup>
|
|
|
|
<!-- Default settings that explicitly differ from the Sdk.props defaults -->
|
|
<PropertyGroup>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<BaseIntermediateOutputPath>$(BaseArtifactsPath)obj/$(BaseArtifactsPathSuffix)/</BaseIntermediateOutputPath>
|
|
<DebugType>portable</DebugType>
|
|
<DebugType Condition="'$(codecov)' != ''">full</DebugType>
|
|
<NullableContextOptions>disable</NullableContextOptions>
|
|
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
|
<SignAssembly>false</SignAssembly>
|
|
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
https://apisof.net/
|
|
+===================+=======+==========+=====================+=============+=================+====================+==============+
|
|
| SUPPORTS | MATHF | HASHCODE | EXTENDED_INTRINSICS | SPAN_STREAM | ENCODING_STRING | RUNTIME_INTRINSICS | CODECOVERAGE |
|
|
+===================+=======+==========+=====================+=============+=================+====================+==============+
|
|
| netcoreapp3.1 | Y | Y | Y | Y | Y | Y | Y |
|
|
| netcoreapp2.1 | Y | Y | Y | Y | Y | N | Y |
|
|
| netcoreapp2.0 | Y | N | N | N | N | N | Y |
|
|
| netstandard2.1 | Y | Y | N | Y | Y | N | Y |
|
|
| netstandard2.0 | N | N | N | N | N | N | Y |
|
|
| netstandard1.3 | N | N | N | N | N | N | N |
|
|
| net472 | N | N | Y | N | N | N | Y |
|
|
+===================+=======+==========+=====================+=============+=================+====================+==============+
|
|
-->
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
|
|
<DefineConstants>$(DefineConstants);SUPPORTS_MATHF;SUPPORTS_HASHCODE;SUPPORTS_EXTENDED_INTRINSICS;SUPPORTS_SPAN_STREAM;SUPPORTS_ENCODING_STRING;SUPPORTS_RUNTIME_INTRINSICS;SUPPORTS_CODECOVERAGE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
|
|
<DefineConstants>$(DefineConstants);SUPPORTS_MATHF;SUPPORTS_HASHCODE;SUPPORTS_EXTENDED_INTRINSICS;SUPPORTS_SPAN_STREAM;SUPPORTS_ENCODING_STRING;SUPPORTS_CODECOVERAGE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
|
|
<DefineConstants>$(DefineConstants);SUPPORTS_MATHF;SUPPORTS_CODECOVERAGE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
|
|
<DefineConstants>$(DefineConstants);SUPPORTS_MATHF;SUPPORTS_HASHCODE;SUPPORTS_SPAN_STREAM;SUPPORTS_ENCODING_STRING;SUPPORTS_CODECOVERAGE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
|
<DefineConstants>$(DefineConstants);SUPPORTS_CODECOVERAGE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
|
|
<DefineConstants>$(DefineConstants);SUPPORTS_EXTENDED_INTRINSICS;SUPPORTS_CODECOVERAGE</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<!-- Default settings that explicitly differ from the Sdk.targets defaults-->
|
|
<PropertyGroup>
|
|
<Authors>Six Labors and contributors</Authors>
|
|
<BaseOutputPath>$(BaseArtifactsPath)bin/$(BaseArtifactsPathSuffix)/</BaseOutputPath>
|
|
<Company>Six Labors</Company>
|
|
<PackageOutputPath>$(BaseArtifactsPath)pkg/$(BaseArtifactsPathSuffix)/$(Configuration)/</PackageOutputPath>
|
|
<Product>SixLabors.ImageSharp</Product>
|
|
<VersionPrefix>0.0.1</VersionPrefix>
|
|
<VersionPrefix Condition="'$(packageversion)' != ''">$(PackageVersion)</VersionPrefix>
|
|
<VersionSuffix></VersionSuffix>
|
|
</PropertyGroup>
|
|
|
|
<!-- Default settings that are otherwise undefined -->
|
|
<PropertyGroup>
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)shared-infrastructure/SixLabors.snk</AssemblyOriginatorKeyFile>
|
|
<Copyright>Copyright © Six Labors and Contributors</Copyright>
|
|
<Features>strict;IOperation</Features>
|
|
<HighEntropyVA>true</HighEntropyVA>
|
|
<LangVersion>8.0</LangVersion>
|
|
<NeutralLanguage>en</NeutralLanguage>
|
|
<OverwriteReadOnlyFiles>true</OverwriteReadOnlyFiles>
|
|
<PackageIcon>icon.png</PackageIcon>
|
|
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
|
|
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
|
|
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
|
|
<RepositoryType>git</RepositoryType>
|
|
<RestoreSources>
|
|
https://www.myget.org/F/sixlabors/api/v3/index.json;
|
|
https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
|
|
https://api.nuget.org/v3/index.json;
|
|
</RestoreSources>
|
|
<SixLaborsPublicKey>002400000c8000009400000006020000002400005253413100040000010001000147e6fe6766715eec6cfed61f1e7dcdbf69748a3e355c67e9d8dfd953acab1d5e012ba34b23308166fdc61ee1d0390d5f36d814a6091dd4b5ed9eda5a26afced924c683b4bfb4b3d64b0586a57eff9f02b1f84e3cb0ddd518bd1697f2c84dcbb97eb8bb5c7801be12112ed0ec86db934b0e9a5171e6bb1384b6d2f7d54dfa97</SixLaborsPublicKey>
|
|
<UseSharedCompilation>true</UseSharedCompilation>
|
|
</PropertyGroup>
|
|
|
|
<!-- Package references and additional files which are consumed by all projects -->
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Net.Compilers.Toolset" IsImplicitlyDefined="true" />
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" IsImplicitlyDefined="true" />
|
|
<!--TODO: Enable this once tests Stylecop issues are fixed-->
|
|
<!--<PackageReference Include="StyleCop.Analyzers" IsImplicitlyDefined="true" />-->
|
|
<AdditionalFiles Include="$(MSBuildThisFileDirectory)shared-infrastructure\stylecop.json" />
|
|
<!--NuGet package icon source-->
|
|
<None Include="$(MSBuildThisFileDirectory)shared-infrastructure\branding\icons\imagesharp\sixlabors.imagesharp.128.png" Pack="true" PackagePath="\icon.png" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
|