Skip to content

Commit 2d87102

Browse files
Update xunit-dotnet monorepo (#17584)
* Update xunit-dotnet monorepo * Building Benchmarks only for the default framework * Revert "Building Benchmarks only for the default framework" This reverts commit 49338f3. * Explicitly entry point for benchmarks --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
1 parent e15fbe4 commit 2d87102

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Directory.Packages.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
<PackageVersion Include="StyleCop.Analyzers" Version="1.1.118" />
6666
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
6767
<PackageVersion Include="System.IO.Hashing" Version="8.0.0" />
68-
<PackageVersion Include="xunit.v3" Version="1.0.0" />
69-
<PackageVersion Include="xunit.analyzers" Version="1.18.0" />
70-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0" />
68+
<PackageVersion Include="xunit.v3" Version="1.1.0" />
69+
<PackageVersion Include="xunit.analyzers" Version="1.20.0" />
70+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
7171
<PackageVersion Include="YesSql" Version="5.2.0" />
7272
<PackageVersion Include="YesSql.Abstractions" Version="5.2.0" />
7373
<PackageVersion Include="YesSql.Core" Version="5.2.0" />

test/OrchardCore.Benchmarks/OrchardCore.Benchmarks.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFrameworks>$(CommonTargetFrameworks)</TargetFrameworks>
@@ -9,6 +9,9 @@
99
<OutputType>Exe</OutputType>
1010
<!-- Remove the underscores from member name -->
1111
<NoWarn>$(NoWarn);CA1707;EnableGenerateDocumentationFile</NoWarn>
12+
<!-- Without this, we get an "error CS0017: Program has more than one entry point defined." due to
13+
BenchmarkDotNet's auto-generated entry point. -->
14+
<StartupObject>OrchardCore.Benchmark.Program</StartupObject>
1215
</PropertyGroup>
1316

1417
<ItemGroup>

0 commit comments

Comments
 (0)