$xunitPackages = @'
'@
Get-ChildItem -Path "src" -Filter "*.csproj" -Recurse | Where-Object { $_.Name -like "*.Tests.csproj" } | ForEach-Object {
$content = Get-Content $_.FullName -Raw
if ($content -match 'true' -and $content -notmatch 'Include="xunit"') {
# Find the first ItemGroup with PackageReference and add xunit there
if ($content -match '(\s*\s*