Port managed client audio and Windows application
.NET port / test (macos-latest) (push) Canceled after 0s
.NET port / test (ubuntu-24.04) (push) Canceled after 0s
.NET port / test (windows-latest) (push) Canceled after 0s
.NET port / cpp-conformance (push) Canceled after 0s

This commit is contained in:
2026-09-16 16:48:06 +02:00
parent 5a226ba543
commit 82ad4c2811
56 changed files with 2304 additions and 250 deletions
+15
View File
@@ -0,0 +1,15 @@
param(
[string]$RuntimeIdentifier = "win-x64",
[string]$Output = ""
)
$ErrorActionPreference = "Stop"
$repoRoot = (Resolve-Path "$PSScriptRoot/../..").Path
if ([string]::IsNullOrWhiteSpace($Output)) { $Output = "$repoRoot/dotnet/artifacts/client/$RuntimeIdentifier" }
dotnet publish "$PSScriptRoot/VoiceCat.App/VoiceCat.App.csproj" -c Release -r $RuntimeIdentifier --self-contained true `
-p:PublishSingleFile=true -p:PublishTrimmed=false -p:IncludeNativeLibrariesForSelfExtract=false `
-p:RestorePackagesWithLockFile=true -p:RestoreLockedMode=true `
"-p:NuGetLockFilePath=packages.publish.$RuntimeIdentifier.lock.json" -o $Output
if ($LASTEXITCODE -ne 0) { throw "Managed Windows client publish failed." }
if (-not (Test-Path "$Output/voicecat_media.dll")) { throw "Managed media shim was not published." }
if (Test-Path "$Output/voicecat.dll") { throw "Legacy VoiceCat native core must not be published." }
Write-Host "Published managed Windows client to $Output"