Fonts/Directory.Build.props

48 строки
1.8 KiB
XML

<?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.
-->
<PropertyGroup>
<!-- This MUST be defined before importing props. -->
<SixLaborsSolutionDirectory>$(MSBuildThisFileDirectory)</SixLaborsSolutionDirectory>
</PropertyGroup>
<!-- Import the shared global .props file -->
<Import Project="$(MSBuildThisFileDirectory)shared-infrastructure\msbuild\props\SixLabors.Global.props" />
<!--Add Feedz.io restore sources while we wait for the ability to update shared infrastructure-->
<PropertyGroup>
<RestoreSources>
$(RestoreSources);
https://f.feedz.io/sixlabors/sixlabors/nuget/index.json;
</RestoreSources>
</PropertyGroup>
<!--
https://apisof.net/
+===================+=====================+
| SUPPORTS | NULLABLE_ATTRIBUTES |
+===================+=====================+
| netcoreapp3.1 | Y |
| netstandard2.1 | Y |
| netstandard2.0 | N |
+===================+=====================+
-->
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<DefineConstants>$(DefineConstants);NULLABLE_ATTRIBUTES</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<DefineConstants>$(DefineConstants);NULLABLE_ATTRIBUTES</DefineConstants>
</PropertyGroup>
</Project>