Skip to content

Commit

Permalink
Ensuring XUnitLogChecker is included in libraries outerloop (#97135)
Browse files Browse the repository at this point in the history
To decide whether to include the XUnitLogChecker.csproj among the projects to build, check for TargetFrameworkIdentifier==.NETCoreApp instead of BuildTargetFramework==NetCoreAppCurrent.
  • Loading branch information
carlossanlop authored Feb 27, 2024
1 parent 5d14a8d commit ac94075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/tests.proj
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@
BuildInParallel="$(Samples_BuildInParallel)" />
</ItemGroup>

<ItemGroup Condition="'$(ArchiveTests)' == 'true' and '$(BuildTargetFramework)' == '$(NetCoreAppCurrent)' and '$(IsXUnitLogCheckerSupported)' == 'true'">
<ItemGroup Condition="'$(ArchiveTests)' == 'true' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(IsXUnitLogCheckerSupported)' == 'true'">
<ProjectReference
Include="$(RepoRoot)src\tests\Common\XUnitLogChecker\XUnitLogChecker.csproj"
AdditionalProperties="%(AdditionalProperties);Configuration=Release;OutDir=$(XUnitLogCheckerLibrariesOutDir)" />
Expand Down

0 comments on commit ac94075

Please sign in to comment.