* Upgrade projects to target .NET 10, add conditional `System.Linq.Async` dependencies for compatibility with earlier frameworks, and update project files for consistency across the solution. * Suppress null comparison warning in `WorkflowDefinitionStore` and remove xUnit references from performance test project. * Refactor performance test projects to remove xUnit references and update MSBuild properties for BenchmarkDotNet.
43 lines
1.9 KiB
XML
43 lines
1.9 KiB
XML
<Project>
|
|
|
|
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
|
<CollectCoverage Condition="'$(CollectCoverage)' == ''">true</CollectCoverage>
|
|
<CoverletOutputFormat Condition="'$(CoverletOutputFormat)' == ''">cobertura,lcov,opencover</CoverletOutputFormat>
|
|
<CoverletOutput Condition="'$(CoverletOutput)' == ''">$(MSBuildThisFileDirectory)../artifacts/coverage/$(MSBuildProjectName)/coverage</CoverletOutput>
|
|
<Threshold Condition="'$(Threshold)' == ''">10</Threshold>
|
|
<ThresholdType Condition="'$(ThresholdType)' == ''">line</ThresholdType>
|
|
<ThresholdStat Condition="'$(ThresholdStat)' == ''">total</ThresholdStat>
|
|
<Exclude>
|
|
[*Elsa.Testing.Shared*]*
|
|
</Exclude>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="GitHubActionsTestLogger"/>
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing"/>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
|
|
<PackageReference Include="Moq"/>
|
|
<PackageReference Include="NSubstitute"/>
|
|
<PackageReference Include="coverlet.msbuild"/>
|
|
<PackageReference Include="coverlet.collector">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="xunit"/>
|
|
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="all"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="Xunit"/>
|
|
</ItemGroup>
|
|
|
|
</Project>
|