Skip to content

Comments

Fix PS1 scripts for Windows compatibility#33679

Merged
PureWeen merged 3 commits intomainfrom
fix/ps1-scripts-windows-compat
Jan 22, 2026
Merged

Fix PS1 scripts for Windows compatibility#33679
PureWeen merged 3 commits intomainfrom
fix/ps1-scripts-windows-compat

Conversation

@PureWeen
Copy link
Member

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description

Updates PowerShell scripts to work correctly on Windows:

  • \BuildAndRunHostApp.ps1\
  • \BuildAndRunSandbox.ps1\
  • \Build-AndDeploy.ps1\
  • \�erify-tests-fail.ps1\

Issues Fixed

N/A - Infrastructure improvement

Copilot AI review requested due to automatic review settings January 22, 2026 15:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Windows platform support to four PowerShell scripts used for building, deploying, and testing .NET MAUI applications. The changes enable these scripts to handle Windows as a target platform alongside existing support for Android, iOS, and MacCatalyst.

Changes:

  • Added "windows" to ValidateSet for Platform parameters across all four scripts
  • Implemented Windows-specific build and deployment logic (similar to MacCatalyst approach)
  • Updated documentation (synopsis, descriptions, examples) to include Windows platform
  • Added PR number auto-detection and markdown reporting features to verify-tests-fail.ps1

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
.github/skills/verify-tests-fail-without-fix/scripts/verify-tests-fail.ps1 Added Windows platform support; also includes new PR auto-detection logic and markdown report generation feature
.github/scripts/shared/Build-AndDeploy.ps1 Added Windows build logic (no deploy step, runs on host like MacCatalyst)
.github/scripts/BuildAndRunSandbox.ps1 Added Windows platform configuration and host device handling
.github/scripts/BuildAndRunHostApp.ps1 Added Windows platform configuration, test project mapping, and log handling

@PureWeen PureWeen merged commit 81b0103 into main Jan 22, 2026
2 of 3 checks passed
@PureWeen PureWeen deleted the fix/ps1-scripts-windows-compat branch January 22, 2026 17:40
@kubaflo kubaflo added the area-ai-agents Copilot CLI agents, agent skills, AI-assisted development label Jan 28, 2026
@kubaflo kubaflo added the copilot label Feb 6, 2026
This was referenced Feb 12, 2026
This was referenced Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai-agents Copilot CLI agents, agent skills, AI-assisted development copilot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants