|
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>$(SixLaborsProjectCategory)/$(MSBuildProjectName)</BaseArtifactsPathSuffix> |
17 | | - <RepositoryUrl Condition="'$(RepositoryUrl)' == ''">https://github.com/SixLabors/ImageSharp/</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 | | - <BaseIntermediateOutputPath>$(BaseArtifactsPath)obj/$(BaseArtifactsPathSuffix)/</BaseIntermediateOutputPath> |
24 | | - <DebugType>portable</DebugType> |
25 | | - <DebugType Condition="'$(codecov)' != ''">full</DebugType> |
26 | | - <NullableContextOptions>disable</NullableContextOptions> |
27 | | - <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> |
28 | | - <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage> |
29 | | - </PropertyGroup> |
30 | | - |
31 | | - <!-- |
32 | | - https://apisof.net/ |
33 | | - +===================+=======+==========+=====================+=============+=================+====================+==============+=========+============| |
34 | | - | SUPPORTS | MATHF | HASHCODE | EXTENDED_INTRINSICS | SPAN_STREAM | ENCODING_STRING | RUNTIME_INTRINSICS | CODECOVERAGE | HOTPATH | CREATESPAN | |
35 | | - +===================+=======+==========+=====================+=============+=================+====================+==============+=========|============| |
36 | | - | netcoreapp3.1 | Y | Y | Y | Y | Y | Y | Y | Y | Y | |
37 | | - | netcoreapp2.1 | Y | Y | Y | Y | Y | N | Y | N | Y | |
38 | | - | netcoreapp2.0 | Y | N | N | N | N | N | Y | N | Y | |
39 | | - | netstandard2.1 | Y | Y | N | Y | Y | N | Y | N | Y | |
40 | | - | netstandard2.0 | N | N | N | N | N | N | Y | N | N | |
41 | | - | netstandard1.3 | N | N | N | N | N | N | N | N | N | |
42 | | - | net472 | N | N | Y | N | N | N | Y | N | N | |
43 | | - +===================+=======+==========+=====================+=============+=================+====================+==============+=========|============| |
44 | | - --> |
45 | | - |
46 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> |
47 | | - <DefineConstants>$(DefineConstants);SUPPORTS_MATHF</DefineConstants> |
48 | | - <DefineConstants>$(DefineConstants);SUPPORTS_HASHCODE</DefineConstants> |
49 | | - <DefineConstants>$(DefineConstants);SUPPORTS_EXTENDED_INTRINSICS</DefineConstants> |
50 | | - <DefineConstants>$(DefineConstants);SUPPORTS_SPAN_STREAM</DefineConstants> |
51 | | - <DefineConstants>$(DefineConstants);SUPPORTS_ENCODING_STRING</DefineConstants> |
52 | | - <DefineConstants>$(DefineConstants);SUPPORTS_RUNTIME_INTRINSICS</DefineConstants> |
53 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CODECOVERAGE</DefineConstants> |
54 | | - <DefineConstants>$(DefineConstants);SUPPORTS_HOTPATH</DefineConstants> |
55 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CREATESPAN</DefineConstants> |
56 | | - </PropertyGroup> |
57 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'"> |
58 | | - <DefineConstants>$(DefineConstants);SUPPORTS_MATHF</DefineConstants> |
59 | | - <DefineConstants>$(DefineConstants);SUPPORTS_HASHCODE</DefineConstants> |
60 | | - <DefineConstants>$(DefineConstants);SUPPORTS_EXTENDED_INTRINSICS</DefineConstants> |
61 | | - <DefineConstants>$(DefineConstants);SUPPORTS_SPAN_STREAM</DefineConstants> |
62 | | - <DefineConstants>$(DefineConstants);SUPPORTS_ENCODING_STRING</DefineConstants> |
63 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CODECOVERAGE</DefineConstants> |
64 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CREATESPAN</DefineConstants> |
65 | | - </PropertyGroup> |
66 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'"> |
67 | | - <DefineConstants>$(DefineConstants);SUPPORTS_MATHF</DefineConstants> |
68 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CODECOVERAGE</DefineConstants> |
69 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CREATESPAN</DefineConstants> |
70 | | - </PropertyGroup> |
71 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> |
72 | | - <DefineConstants>$(DefineConstants);SUPPORTS_MATHF</DefineConstants> |
73 | | - <DefineConstants>$(DefineConstants);SUPPORTS_HASHCODE</DefineConstants> |
74 | | - <DefineConstants>$(DefineConstants);SUPPORTS_SPAN_STREAM</DefineConstants> |
75 | | - <DefineConstants>$(DefineConstants);SUPPORTS_ENCODING_STRING</DefineConstants> |
76 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CODECOVERAGE</DefineConstants> |
77 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CREATESPAN</DefineConstants> |
78 | | - </PropertyGroup> |
79 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
80 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CODECOVERAGE</DefineConstants> |
81 | | - </PropertyGroup> |
82 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'net472'"> |
83 | | - <DefineConstants>$(DefineConstants);SUPPORTS_EXTENDED_INTRINSICS</DefineConstants> |
84 | | - <DefineConstants>$(DefineConstants);SUPPORTS_CODECOVERAGE</DefineConstants> |
85 | | - </PropertyGroup> |
86 | | - |
87 | | - <!-- Default settings that explicitly differ from the Sdk.targets defaults--> |
88 | | - <PropertyGroup> |
89 | | - <Authors>Six Labors and contributors</Authors> |
90 | | - <BaseOutputPath>$(BaseArtifactsPath)bin/$(BaseArtifactsPathSuffix)/</BaseOutputPath> |
91 | | - <Company>Six Labors</Company> |
92 | | - <PackageOutputPath>$(BaseArtifactsPath)pkg/$(BaseArtifactsPathSuffix)/$(Configuration)/</PackageOutputPath> |
93 | | - <Product>SixLabors.ImageSharp</Product> |
94 | | - <VersionPrefix>0.0.1</VersionPrefix> |
95 | | - <VersionPrefix Condition="'$(packageversion)' != ''">$(PackageVersion)</VersionPrefix> |
96 | | - <VersionSuffix></VersionSuffix> |
97 | | - </PropertyGroup> |
98 | | - |
99 | | - <!--MinVer Properties for versioning--> |
100 | | - <PropertyGroup> |
101 | | - <MinVerTagPrefix>v</MinVerTagPrefix> |
102 | | - <MinVerVerbosity>normal</MinVerVerbosity> |
103 | | - </PropertyGroup> |
104 | | - |
105 | | - <!-- Default settings that are otherwise undefined --> |
106 | | - <PropertyGroup> |
107 | | - <Copyright>Copyright © Six Labors</Copyright> |
108 | | - <Features>strict;IOperation</Features> |
109 | | - <HighEntropyVA>true</HighEntropyVA> |
110 | | - <LangVersion>8.0</LangVersion> |
111 | | - <NeutralLanguage>en</NeutralLanguage> |
112 | | - <OverwriteReadOnlyFiles>true</OverwriteReadOnlyFiles> |
113 | | - <PackageIcon>sixlabors.imagesharp.128.png</PackageIcon> |
114 | | - <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
115 | | - <PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl> |
116 | | - <ProduceReferenceAssembly>true</ProduceReferenceAssembly> |
117 | | - <RepositoryType>git</RepositoryType> |
118 | | - <RestoreSources> |
119 | | - https://www.myget.org/F/sixlabors/api/v3/index.json; |
120 | | - https://api.nuget.org/v3/index.json; |
121 | | - <!-- Contains RemoteExecutor. Taken from: https://github.com/dotnet/runtime/blob/master/NuGet.config --> |
122 | | - https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json; |
123 | | - </RestoreSources> |
124 | | - <SignAssembly>true</SignAssembly> |
125 | | - <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)shared-infrastructure/SixLabors.snk</AssemblyOriginatorKeyFile> |
126 | | - <SixLaborsPublicKey>00240000048000009400000006020000002400005253413100040000010001000147e6fe6766715eec6cfed61f1e7dcdbf69748a3e355c67e9d8dfd953acab1d5e012ba34b23308166fdc61ee1d0390d5f36d814a6091dd4b5ed9eda5a26afced924c683b4bfb4b3d64b0586a57eff9f02b1f84e3cb0ddd518bd1697f2c84dcbb97eb8bb5c7801be12112ed0ec86db934b0e9a5171e6bb1384b6d2f7d54dfa97</SixLaborsPublicKey> |
127 | | - <UseSharedCompilation>true</UseSharedCompilation> |
128 | | - </PropertyGroup> |
129 | | - |
130 | | - <!-- Package references and additional files which are consumed by all projects --> |
131 | | - <ItemGroup> |
132 | | - <PackageReference Include="Microsoft.Net.Compilers.Toolset" IsImplicitlyDefined="true" /> |
133 | | - <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" IsImplicitlyDefined="true" /> |
134 | | - <PackageReference Include="StyleCop.Analyzers" IsImplicitlyDefined="true" /> |
135 | | - <AdditionalFiles Include="$(MSBuildThisFileDirectory)shared-infrastructure\stylecop.json" /> |
136 | | - <!--NuGet package icon source--> |
137 | | - <None Include="$(MSBuildThisFileDirectory)shared-infrastructure\branding\icons\imagesharp\sixlabors.imagesharp.128.png" Pack="true" PackagePath="" /> |
138 | | - </ItemGroup> |
| 18 | + <!-- Import the shared global .props file --> |
| 19 | + <Import Project="$(MSBuildThisFileDirectory)shared-infrastructure\msbuild\props\SixLabors.Global.props" /> |
139 | 20 |
|
140 | 21 | </Project> |
0 commit comments