Skip to content

Commit

Permalink
Disabled .NET 9 parallel unit test execution.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Nov 14, 2024
1 parent a6f88dd commit 1839cd0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tests/CSharpCore/Tests.NetStandard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
<PropertyGroup>
<OutputType Condition="'$(TargetFramework)'!='net471'">Exe</OutputType>
<!-- Detect SDK version -->
<ParsedSdkVersion>$([System.Text.RegularExpressions.Regex]::Replace($(NETCoreSdkVersion), '-.*', ''))</ParsedSdkVersion>
<ParsedSdkVersion>$([System.Text.RegularExpressions.Regex]::Replace($(NETCoreSdkVersion), '-.*',
''))</ParsedSdkVersion>
<IsNet80Supported Condition="'$(ParsedSdkVersion)' >= '8.0'">true</IsNet80Supported>
<IsNet90Supported Condition="'$(ParsedSdkVersion)' >= '9.0'">true</IsNet90Supported>
<!-- Only support .NET 6/8/9 and .NET Framework 4.7.1 right now. -->
<TargetFrameworks Condition="'$(IsNet80Supported)' == 'true' ">net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(IsNet90Supported)' == 'true' ">$(TargetFrameworks);net9.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net471</TargetFrameworks>
<TestTfmsInParallel>false</TestTfmsInParallel>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="**\*.resx" />
Expand Down Expand Up @@ -87,4 +89,4 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
</Project>

0 comments on commit 1839cd0

Please sign in to comment.