|
10 | 10 | that is done by the file that imports us. |
11 | 11 | --> |
12 | 12 |
|
13 | | - <!-- Default settings that are used by other settings --> |
14 | 13 | <PropertyGroup> |
15 | | - <BaseArtifactsPath>$(MSBuildThisFileDirectory)artifacts/</BaseArtifactsPath> |
16 | | - <BaseArtifactsPathSuffix>$(ImageSharpProjectCategory)/$(MSBuildProjectName)</BaseArtifactsPathSuffix> |
17 | | - <RepositoryUrl Condition="'$(RepositoryUrl)' == ''">https://github.com/SixLabors/ImageSharp.Drawing/</RepositoryUrl> |
| 14 | + <!-- This MUST be defined before importing props. --> |
| 15 | + <SixLaborsSolutionDirectory>$(MSBuildThisFileDirectory)</SixLaborsSolutionDirectory> |
18 | 16 | </PropertyGroup> |
19 | 17 |
|
20 | | - <!-- Default settings that explicitly differ from the Sdk.props defaults --> |
21 | | - <PropertyGroup> |
22 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
23 | | - <DebugType>portable</DebugType> |
24 | | - <DebugType Condition="'$(codecov)' != ''">full</DebugType> |
25 | | - <NullableContextOptions>disable</NullableContextOptions> |
26 | | - <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> |
27 | | - <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage> |
28 | | - </PropertyGroup> |
29 | | - |
30 | | - <!-- |
31 | | - https://apisof.net/ |
32 | | - +===================+=======+==========+=====================+=============+=================+====================+==============+ |
33 | | - | SUPPORTS | MATHF | HASHCODE | EXTENDED_INTRINSICS | SPAN_STREAM | ENCODING_STRING | RUNTIME_INTRINSICS | CODECOVERAGE | |
34 | | - +===================+=======+==========+=====================+=============+=================+====================+==============+ |
35 | | - | netcoreapp3.1 | Y | Y | Y | Y | Y | Y | Y | |
36 | | - | netcoreapp2.1 | Y | Y | Y | Y | Y | N | Y | |
37 | | - | netcoreapp2.0 | Y | N | N | N | N | N | Y | |
38 | | - | netstandard2.1 | Y | Y | N | Y | Y | N | Y | |
39 | | - | netstandard2.0 | N | N | N | N | N | N | Y | |
40 | | - | netstandard1.3 | N | N | N | N | N | N | N | |
41 | | - | net472 | N | N | Y | N | N | N | Y | |
42 | | - +===================+=======+==========+=====================+=============+=================+====================+==============+ |
43 | | - --> |
44 | | - |
45 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> |
46 | | - <DefineConstants>$(DefineConstants);SUPPORTS_MATHF;SUPPORTS_HASHCODE;SUPPORTS_EXTENDED_INTRINSICS;SUPPORTS_SPAN_STREAM;SUPPORTS_ENCODING_STRING;SUPPORTS_RUNTIME_INTRINSICS;SUPPORTS_CODECOVERAGE</DefineConstants> |
47 | | - </PropertyGroup> |
48 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'"> |
49 | | - <DefineConstants>$(DefineConstants);SUPPORTS_MATHF;SUPPORTS_HASHCODE;SUPPORTS_EXTENDED_INTRINSICS;SUPPORTS_SPAN_STREAM;SUPPORTS_ENCODING_STRING;SUPPORTS_CODECOVERAGE</DefineConstants> |
50 | | - </PropertyGroup> |
51 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'"> |
52 | | - <DefineConstants>$(DefineConstants);SUPPORTS_MATHF;SUPPORTS_CODECOVERAGE</DefineConstants> |
53 | | - </PropertyGroup> |
54 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> |
55 | | - <DefineConstants>$(DefineConstants);SUPPORTS_MATHF;SUPPORTS_HASHCODE;SUPPORTS_SPAN_STREAM;SUPPORTS_ENCODING_STRING;SUPPORTS_CODECOVERAGE</DefineConstants> |
56 | | - </PropertyGroup> |
57 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
58 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CODECOVERAGE</DefineConstants> |
59 | | - </PropertyGroup> |
60 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'net472'"> |
61 | | - <DefineConstants>$(DefineConstants);SUPPORTS_EXTENDED_INTRINSICS;SUPPORTS_CODECOVERAGE</DefineConstants> |
62 | | - </PropertyGroup> |
63 | | - |
64 | | - <!-- Default settings that explicitly differ from the Sdk.targets defaults--> |
65 | | - <PropertyGroup> |
66 | | - <Authors>Six Labors and contributors</Authors> |
67 | | - <Company>Six Labors</Company> |
68 | | - <PackageOutputPath>$(BaseArtifactsPath)pkg/$(BaseArtifactsPathSuffix)/$(Configuration)/</PackageOutputPath> |
69 | | - <Product>SixLabors.ImageSharp.Drawing</Product> |
70 | | - <VersionPrefix>0.0.1</VersionPrefix> |
71 | | - <VersionPrefix Condition="'$(packageversion)' != ''">$(PackageVersion)</VersionPrefix> |
72 | | - <VersionSuffix></VersionSuffix> |
73 | | - </PropertyGroup> |
74 | | - |
75 | | - <!--MinVer Properties for versioning--> |
76 | | - <PropertyGroup> |
77 | | - <MinVerTagPrefix>v</MinVerTagPrefix> |
78 | | - <MinVerVerbosity>normal</MinVerVerbosity> |
79 | | - </PropertyGroup> |
80 | | - |
81 | | - <!-- Default settings that are otherwise undefined --> |
82 | | - <PropertyGroup> |
83 | | - <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)shared-infrastructure/SixLabors.snk</AssemblyOriginatorKeyFile> |
84 | | - <Copyright>Copyright © Six Labors and Contributors</Copyright> |
85 | | - <Features>strict;IOperation</Features> |
86 | | - <HighEntropyVA>true</HighEntropyVA> |
87 | | - <LangVersion>8.0</LangVersion> |
88 | | - <NeutralLanguage>en</NeutralLanguage> |
89 | | - <OverwriteReadOnlyFiles>true</OverwriteReadOnlyFiles> |
90 | | - <PackageIcon>sixlabors.imagesharp.drawing.128.png</PackageIcon> |
91 | | - <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
92 | | - <PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl> |
93 | | - <ProduceReferenceAssembly>true</ProduceReferenceAssembly> |
94 | | - <RepositoryType>git</RepositoryType> |
95 | | - <RestoreSources> |
96 | | - https://www.myget.org/F/sixlabors/api/v3/index.json; |
97 | | - https://api.nuget.org/v3/index.json; |
98 | | - </RestoreSources> |
99 | | - <SixLaborsPublicKey>00240000048000009400000006020000002400005253413100040000010001000147e6fe6766715eec6cfed61f1e7dcdbf69748a3e355c67e9d8dfd953acab1d5e012ba34b23308166fdc61ee1d0390d5f36d814a6091dd4b5ed9eda5a26afced924c683b4bfb4b3d64b0586a57eff9f02b1f84e3cb0ddd518bd1697f2c84dcbb97eb8bb5c7801be12112ed0ec86db934b0e9a5171e6bb1384b6d2f7d54dfa97</SixLaborsPublicKey> |
100 | | - <UseSharedCompilation>true</UseSharedCompilation> |
101 | | - <SignAssembly>true</SignAssembly> |
102 | | - </PropertyGroup> |
103 | | - |
104 | | - <!-- Package references and additional files which are consumed by all projects --> |
105 | | - <ItemGroup> |
106 | | - <PackageReference Include="Microsoft.Net.Compilers.Toolset" IsImplicitlyDefined="true" /> |
107 | | - <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" IsImplicitlyDefined="true" /> |
108 | | - <!--TODO: Enable this once tests Stylecop issues are fixed--> |
109 | | - <!--<PackageReference Include="StyleCop.Analyzers" IsImplicitlyDefined="true" />--> |
110 | | - <AdditionalFiles Include="$(MSBuildThisFileDirectory)shared-infrastructure\stylecop.json" /> |
111 | | - <!--NuGet package icon source--> |
112 | | - <None Include="$(MSBuildThisFileDirectory)shared-infrastructure\branding\icons\imagesharp.drawing\sixlabors.imagesharp.drawing.128.png" Pack="true" PackagePath="" /> |
113 | | - </ItemGroup> |
| 18 | + <!-- Import the shared global .props file --> |
| 19 | + <Import Project="$(MSBuildThisFileDirectory)shared-infrastructure\msbuild\props\SixLabors.Global.props" /> |
114 | 20 |
|
115 | 21 | </Project> |
0 commit comments