Skip to content

Fix Windows build-server platform mismatch in CI - #12

Merged
chsword merged 2 commits into
copilot/resolve-security-issuesfrom
copilot/fix-failing-github-actions-job
Sep 11, 2026
Merged

chsword merged 2 commits into
copilot/resolve-security-issuesfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

The failing GitHub Actions run was isolated to the Windows build-server job. MSBuild was invoked with a platform name that does not exist in the legacy ResizingServer.csproj, causing the standalone project build to fail before packaging.

  • Root cause

    • The workflow passed /p:Platform="Any CPU" while ResizingServer.csproj defines its configurations as Debug|AnyCPU and Release|AnyCPU.
  • Change

    • Updated the Windows build-server workflow step to build ResizingServer.csproj with the platform name MSBuild can resolve for this project:
      - name: Build ResizingServer
        run: msbuild source/ResizingServer/ResizingServer.csproj /p:Configuration=Release /p:Platform=AnyCPU
  • Effect

    • Keeps the existing workflow structure intact.
    • Restores compatibility for direct CI builds of the legacy .NET Framework web project on Windows runners.

@chsword
chsword added this pull request to stack #13 September 11, 2026 01:23
Co-authored-by: chsword <274085+chsword@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Fix Windows build-server platform mismatch in CI Sep 11, 2026
Copilot AI requested a review from chsword September 11, 2026 01:26
@chsword
chsword marked this pull request as ready for review September 11, 2026 01:27
Copilot AI lite review requested due to automatic review settings September 11, 2026 01:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The workflow now uses the project’s valid AnyCPU platform configuration.

Pull request overview

Fixes the Windows CI build-server platform mismatch for the legacy ResizingServer project.

Changes:

  • Changed the MSBuild platform from Any CPU to AnyCPU.
File summaries
File Description
.github/workflows/dotnet-ci-release.yml Corrects the Windows server build platform argument.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@chsword
chsword merged commit 1736e74 into master Sep 11, 2026
1 check passed
@chsword
chsword deleted the copilot/fix-failing-github-actions-job branch September 11, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants