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.
45 lines
1.8 KiB
45 lines
1.8 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.
|
|
-->
|
|
|
|
<PropertyGroup>
|
|
<!-- This MUST be defined before importing props. -->
|
|
<SixLaborsSolutionDirectory>$(MSBuildThisFileDirectory)</SixLaborsSolutionDirectory>
|
|
|
|
<!-- For some reason Debug-InnerLoop doesn't define DEBUG by default. -->
|
|
<DefineConstants Condition="'$(Configuration)' == 'Debug-InnerLoop'">$(DefineConstants);DEBUG</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<!-- Import the shared global .props file -->
|
|
<Import Project="$(MSBuildThisFileDirectory)shared-infrastructure\msbuild\props\SixLabors.Global.props" />
|
|
|
|
<PropertyGroup Condition="$(SIXLABORS_TESTING_PREVIEW) == true">
|
|
<!-- Workaround various issues bound to implicit language features. -->
|
|
<LangVersion>10.0</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Ensure all custom build configurations based upon "Release" are optimized.
|
|
This is easier than setting each project individually.
|
|
-->
|
|
<PropertyGroup Condition="$(Configuration.StartsWith('Release')) == true">
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<!-- Required restore feeds. -->
|
|
<PropertyGroup>
|
|
<RestoreSources>
|
|
https://api.nuget.org/v3/index.json;
|
|
https://f.feedz.io/sixlabors/sixlabors/nuget/index.json;
|
|
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json;
|
|
</RestoreSources>
|
|
</PropertyGroup>
|
|
</Project>
|
|
|