elsa-core/test/performance/Directory.Build.props
Sipke Schoorstra 2f9eac110e
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. (#7062)
* 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.
2025-11-21 20:55:30 +01:00

37 lines
1.3 KiB
XML

<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<OutputType>Exe</OutputType>
<CollectCoverage>false</CollectCoverage>
<!-- This is a BenchmarkDotNet performance test, not an xUnit test -->
<IsTestProject>false</IsTestProject>
</PropertyGroup>
<!-- Remove xUnit packages inherited from test/Directory.Build.props -->
<ItemGroup>
<PackageReference Remove="Microsoft.NET.Test.Sdk"/>
<PackageReference Remove="xunit"/>
<PackageReference Remove="xunit.runner.visualstudio"/>
<PackageReference Remove="Microsoft.AspNetCore.Mvc.Testing"/>
<PackageReference Remove="Moq"/>
<PackageReference Remove="NSubstitute"/>
<PackageReference Remove="coverlet.msbuild"/>
<PackageReference Remove="coverlet.collector"/>
<PackageReference Remove="GitHubActionsTestLogger"/>
</ItemGroup>
<!-- Remove xUnit usings -->
<ItemGroup>
<Using Remove="Xunit"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet"/>
</ItemGroup>
</Project>