Fix build and code structure improvements. New but essential UI functionality. CI improvements. Documentation improvements. AI module improvements.

This commit is contained in:
StellaOps Bot
2025-12-26 21:54:17 +02:00
parent 335ff7da16
commit c2b9cd8d1f
3717 changed files with 264714 additions and 48202 deletions

17
fix-xunit-refs.ps1 Normal file
View File

@@ -0,0 +1,17 @@
$xunitPackages = @'
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
'@
Get-ChildItem -Path "src" -Filter "*.csproj" -Recurse | Where-Object { $_.Name -like "*.Tests.csproj" } | ForEach-Object {
$content = Get-Content $_.FullName -Raw
if ($content -match '<IsTestProject>true</IsTestProject>' -and $content -notmatch 'Include="xunit"') {
# Find the first ItemGroup with PackageReference and add xunit there
if ($content -match '(<ItemGroup>\s*<PackageReference)') {
$content = $content -replace '(<ItemGroup>\s*<PackageReference)', "$xunitPackages`n`$1"
Set-Content $_.FullName $content -NoNewline
Write-Host "Added xunit to: $($_.FullName)"
}
}
}