From 544d97b1ff7425a860579b4e870d50790c6e657c Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Thu, 19 Mar 2026 15:07:01 +0100 Subject: [PATCH] fix: dev-start.ps1 ErrorActionPreference auf Continue setzen (dotnet stderr Warnungen kein Fehler) --- dev-start.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-start.ps1 b/dev-start.ps1 index b7f18da..69ca940 100644 --- a/dev-start.ps1 +++ b/dev-start.ps1 @@ -7,7 +7,7 @@ startet Backend und Frontend in separaten Fenstern. #> -$ErrorActionPreference = "Stop" +$ErrorActionPreference = "Continue" $Root = "D:\001_Projekte\IT_Tool" function Write-Step { param($msg) Write-Host "" ; Write-Host "==> $msg" -ForegroundColor Cyan } @@ -97,7 +97,7 @@ Write-Step "Fuehre Datenbank-Migrationen aus..." Set-Location "$Root\Backend" -$efResult = dotnet ef database update --project "src\NexusRMM.Infrastructure" --startup-project "src\NexusRMM.Api" --no-build 2>&1 +dotnet ef database update --project "src\NexusRMM.Infrastructure" --startup-project "src\NexusRMM.Api" --no-build 2>&1 | Out-Default if ($LASTEXITCODE -ne 0) { Write-Warn "Migration mit --no-build fehlgeschlagen. Baue zuerst..." dotnet build "src\NexusRMM.Api" --configuration Debug -q