Skip to content

Modernize Captura language/framework targets and add GitHub Actions UI startup E2E CI#581

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/update-csharp-language-framework
Draft

Modernize Captura language/framework targets and add GitHub Actions UI startup E2E CI#581
Copilot wants to merge 2 commits into
masterfrom
copilot/update-csharp-language-framework

Conversation

Copilot AI commented May 25, 2026

Copy link
Copy Markdown

Summary

  • Updated project language settings to use the latest C# language version.
  • Retargeted .NET Framework projects from net472 to net481.
  • Kept shared libraries on netstandard2.0 for compatibility.
  • Modernized test dependencies in src/Tests/Tests.csproj:
    • Moq -> 4.20.72
    • Microsoft.NET.Test.Sdk -> 17.12.0
    • xunit -> 2.9.2
    • xunit.runner.visualstudio -> 2.8.2
    • removed legacy TestStack.White dependency
  • Replaced the White-based UI test fixture with a process-based fixture for launching/closing the app.
  • Added a new E2E UI startup test: UiStartupTests.CapturaMainWindowStarts.
  • Added GitHub Actions workflow: .github/workflows/dotnet-ci.yml to restore, build, and run the UI startup E2E test on windows-latest.
  • Added minimal workflow token permissions (contents: read) to satisfy CodeQL actions security guidance.

Validation

  • Local restore: dotnet restore src/Captura.sln
  • Local build: dotnet build src/Captura.sln -c Release --no-restore
  • Local test execution in this Linux sandbox is blocked for net481 tests due missing mono host (Could not find 'mono' host).
  • GitHub Actions run for the new workflow is currently action_required (no jobs started yet), indicating repository approval is required before workflow execution.

Notes

  • Parallel validation:
    • CodeQL scan: ✅ (no remaining alerts)
    • Code review tool: ❌ external tool error (anthropic-beta header issue), not code-related.

Please don't send pull-requests for translation. Use the Crowdin project instead.

Copilot AI and others added 2 commits May 25, 2026 05:05
… startup check

Agent-Logs-Url: https://github.com/MathewSachin/Captura/sessions/21f6684b-4534-446e-9d30-4ead47884a2a

Co-authored-by: MathewSachin <10654537+MathewSachin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MathewSachin/Captura/sessions/21f6684b-4534-446e-9d30-4ead47884a2a

Co-authored-by: MathewSachin <10654537+MathewSachin@users.noreply.github.com>
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.

2 participants