Skip to content

Fix Blazor WASM build: downgrade System.Drawing.Common to 8.0.0#861

Merged
7474 merged 2 commits intomasterfrom
copilot/fix-action-job-issue
Mar 13, 2026
Merged

Fix Blazor WASM build: downgrade System.Drawing.Common to 8.0.0#861
7474 merged 2 commits intomasterfrom
copilot/fix-action-job-issue

Conversation

Copy link
Contributor

Copilot AI commented Mar 13, 2026

System.Drawing.Common 10.0.3 introduced a CsWin32-generated P/Invoke callback (EnumChildWindowsNativeCallback) returning Windows.Win32.Foundation.BOOL — a non-blittable struct — which breaks the Blazor WASM build via WasmApp.Native.targets.

Changes

  • SRCCore/SRCCore.csproj: Downgrade System.Drawing.Common from 10.0.38.0.0, aligning with the Blazor project's net8.0 target and avoiding the problematic CsWin32-generated P/Invoke signature introduced in the 10.x series.

📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

…om 10.0.3 to 8.0.0

Co-authored-by: 7474 <4744735+7474@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix action job issue in SRC repository Fix Blazor WASM build: downgrade System.Drawing.Common to 8.0.0 Mar 13, 2026
Copilot AI requested a review from 7474 March 13, 2026 18:29
Copilot finished work on behalf of 7474 March 13, 2026 18:29
Copilot AI had a problem deploying to SRC#DataViewer dev March 13, 2026 18:32 Failure
@7474 7474 marked this pull request as ready for review March 13, 2026 18:39
@7474 7474 merged commit 536dab0 into master Mar 13, 2026
5 of 6 checks passed
@7474 7474 deleted the copilot/fix-action-job-issue branch March 13, 2026 18:39
@7474 7474 temporarily deployed to SRC#DataViewer dev March 13, 2026 18:39 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants