Skip to content

Commit

Permalink
Add net472 build of test.harness which turns off app domains (for per…
Browse files Browse the repository at this point in the history
…formance testing)
  • Loading branch information
bradwilson committed Jul 1, 2023
1 parent ff89c51 commit 1aa409d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test.harness/test.harness.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net462;net6.0</TargetFrameworks>
<TargetFrameworks>net462;net472;net6.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNetTestSdkVersion)" />
<PackageReference Include="xunit" Version="$(XunitVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\test.testcasefilter\test.testcasefilter.csproj" />
</ItemGroup>
Expand Down
7 changes: 7 additions & 0 deletions test/test.harness/xunit.runner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://xunit.net/schema/v2.5/xunit.runner.schema.json",
"appDomain": "denied",
"diagnosticMessages": true,
"methodDisplay": "classAndMethod",
"parallelizeAssembly": true
}

0 comments on commit 1aa409d

Please sign in to comment.