Skip to content

Fix xunit major version mismatch in test project#42

Merged
dsanchezcr merged 2 commits intoimprovementsfrom
copilot/sub-pr-41
Feb 20, 2026
Merged

Fix xunit major version mismatch in test project#42
dsanchezcr merged 2 commits intoimprovementsfrom
copilot/sub-pr-41

Conversation

Copy link
Contributor

Copilot AI commented Feb 20, 2026

xunit.runner.visualstudio was bumped to 3.1.5 while xunit remained at 2.9.3 — incompatible major versions that break test discovery under dotnet test. The v3 runner requires xunit.v3; it does not support the xunit 2.x packages.

Changes

  • ColonesExchangeRate.Tests.csproj: Downgrade xunit.runner.visualstudio 3.1.5 → 2.8.2 (latest v2 release) to align with xunit 2.9.3

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: dsanchezcr <10506023+dsanchezcr@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 20, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • api.hacienda.go.cr
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/ColonesExchangeRate/ColonesExchangeRate/src/NuGet/ColonesExchangeRate.Tests/bin/Debug/net10.0/ColonesExchangeRate.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/ColonesExchangeRate/ColonesExchangeRate/src/NuGet/ColonesExchangeRate.Tests/bin/Debug/net10.0/ColonesExchangeRate.Tests.deps.json /home/REDACTED/work/ColonesExchangeRate/ColonesExchangeRate/src/NuGet/ColonesExchangeRate.Tests/bin/Debug/net10.0/testhost.dll --port 42049 --endpoint 127.0.0.1:042049 --role client --parentprocessid 4077 --telemetryoptedin false (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Apply feedback from review to NuGet/login CI and dependency update Fix xunit major version mismatch in test project Feb 20, 2026
@dsanchezcr dsanchezcr marked this pull request as ready for review February 20, 2026 21:54
@dsanchezcr dsanchezcr self-requested a review as a code owner February 20, 2026 21:54
@dsanchezcr dsanchezcr merged commit 227ca1b into improvements Feb 20, 2026
@dsanchezcr dsanchezcr deleted the copilot/sub-pr-41 branch February 20, 2026 21:55
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