You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current builds use the newer Windows TFM output path, so WSL validation can fail, launch stale output, or report misleading results.
Context
This was split out of #281. That older issue was originally framed as PR #274 validation blockers, but PR #274 has since merged and several original blockers appear fixed.
Acceptance criteria
The validation script discovers or derives the actual tray build output path produced by the current project/build.
-NoBuild fails clearly if the expected executable is missing or stale.
The validation summary records the executable path and runtime identifier used.
The script hardcodes net10.0-windows10.0.19041.0 on line 67, but the tray project now targets net10.0-windows10.0.22621.0 (verified in OpenClaw.Tray.WinUI.csproj). This means any -NoBuild run fails immediately at the "executable not found" check, and even a fresh build produces output at the new path that the script can't locate.
The fix reads TargetFramework from the csproj at startup via PowerShell XML parsing, so the path stays correct when the TFM changes in future. A draft PR has been submitted that addresses the acceptance criteria from this issue.
Activity
fix(scripts): derive TFM from csproj in validate-wsl-gateway.ps1
github-actions commentedon May 18, 2026
🤖 This is an automated response from Repo Assist.
I've confirmed the bug and submitted a fix PR.
The script hardcodes
net10.0-windows10.0.19041.0on line 67, but the tray project now targetsnet10.0-windows10.0.22621.0(verified inOpenClaw.Tray.WinUI.csproj). This means any-NoBuildrun fails immediately at the "executable not found" check, and even a fresh build produces output at the new path that the script can't locate.The fix reads
TargetFrameworkfrom the csproj at startup via PowerShell XML parsing, so the path stays correct when the TFM changes in future. A draft PR has been submitted that addresses the acceptance criteria from this issue.