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.
57 lines
2.8 KiB
57 lines
2.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project>
|
|
|
|
<!--
|
|
Directory.Build.targets is automatically picked up and imported by
|
|
Microsoft.Common.targets. 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 late and most other props/targets 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>
|
|
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileDirectory)..\Directory.Build.targets</MSBuildAllProjects>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.targets" />
|
|
|
|
<!-- Tool versions for tool references across all projects -->
|
|
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
|
|
<!--dotnet tools does not have an x86 runner. You have to use separate SDKs-->
|
|
<!--https://github.com/actions/setup-dotnet/issues/72-->
|
|
<DotNetCliToolReference Update="dotnet-xunit" Version="2.3.1" />
|
|
</ItemGroup>
|
|
|
|
<!--Code coverage specific settings-->
|
|
<!--https://github.com/tonerdo/coverlet-->
|
|
<PropertyGroup Condition="'$(codecov)' == 'true' AND '$(IsTestProject)' == 'true'">
|
|
<CollectCoverage>true</CollectCoverage>
|
|
<UseSourceLink>true</UseSourceLink>
|
|
<Include>[SixLabors.*]*</Include>
|
|
<CoverletOutputFormat>lcov</CoverletOutputFormat>
|
|
<!--Output injects target framework into name despite explicit config. See build yml-->
|
|
<CoverletOutputPath>$(MSBuildThisFileDirectory)..\</CoverletOutputPath>
|
|
<CoverletOutput>$(CoverletOutputPath)$(AssemblyName).$(TargetFramework).lcov</CoverletOutput>
|
|
<!--Used by coverlet dues to reference issues-->
|
|
<!--https://github.com/tonerdo/coverlet/blob/master/Documentation/KnowIssues.md#4-failed-to-resolve-assembly-during-instrumentation-->
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!--Test Dependencies-->
|
|
<PackageReference Update="BenchmarkDotNet" Version="0.12.0" />
|
|
<PackageReference Update="Colourful" Version="2.0.3" />
|
|
<PackageReference Update="coverlet.collector" Version="1.1.0" PrivateAssets="All"/>
|
|
<PackageReference Update="coverlet.msbuild" Version="2.8.0" PrivateAssets="All"/>
|
|
<PackageReference Update="Magick.NET-Q16-AnyCPU" Version="7.14.4" />
|
|
<PackageReference Update="Microsoft.DotNet.RemoteExecutor" Version="5.0.0-beta.20069.1" />
|
|
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.4.0" />
|
|
<PackageReference Update="Moq" Version="4.10.0" />
|
|
<PackageReference Update="Pfim" Version="0.9.1" />
|
|
<PackageReference Update="System.Drawing.Common" Version="4.7.0" />
|
|
<PackageReference Update="xunit" Version="2.4.1" />
|
|
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.1" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
|