Skip to content

Chore/update nugets - #2294

Merged
maximilien-noal merged 4 commits into
masterfrom
chore/update_nugets
Aug 5, 2026
Merged

Chore/update nugets#2294
maximilien-noal merged 4 commits into
masterfrom
chore/update_nugets

Conversation

@maximilien-noal

Copy link
Copy Markdown
Member

Description of Changes

Updates third party packages. Makes the version bump to v16.1.

Rationale behind Changes

Release a new version of the Nuget packages.

Suggested Testing Steps

Upgraded ModelContextProtocol and NSubstitute packages in Directory.Packages.props. Suppressed IDE0041 and IDE0008 warnings in Directory.Build.props. Refactored NSubstitute .Returns usage in test files to enforce explicit type checking for AddChannel arguments, throwing InvalidOperationException on type mismatch.
@maximilien-noal maximilien-noal self-assigned this Aug 5, 2026
Copilot AI lite review requested due to automatic review settings August 5, 2026 10:48
@maximilien-noal maximilien-noal added the 3rd party The issue concerns a 3rd party Nuget package and affects us label Aug 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

It introduces global suppression of IDE style warnings (IDE0041/IDE0008) in build props, which disables existing codebase conventions rather than addressing or reconfiguring them.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

This PR updates third-party NuGet dependencies and bumps the project/package version to v16.1.0 to support a new release of the Spice86 NuGet packages.

Changes:

  • Updated centrally managed package versions (notably Avalonia, NSubstitute, ModelContextProtocol, SkiaSharp, and test SDK dependencies).
  • Updated DOS/CD-ROM related tests to use safer argument extraction in NSubstitute Returns delegates.
  • Bumped package/version metadata to 16.1.0.
File summaries
File Description
tests/Spice86.Tests/Dos/DosProcessManagerTests.cs Adjusted NSubstitute Returns to validate CallInfo argument types before constructing SoundChannel.
tests/Spice86.Tests/Dos/CdRomTestFixture.cs Same as above, plus keeps capturing the created channel and callback.
tests/Spice86.Tests/Dos/CdRomParityTests.cs Same as above for CD-ROM parity test setup.
tests/Directory.Packages.props Updated test package versions (Microsoft.NET.Test.Sdk, NSubstitute, Avalonia.Headless).
src/Directory.Packages.props Updated application package versions (Avalonia stack, Dock, MCP, NSubstitute, SkiaSharp, etc.).
src/Directory.Build.props Bumped version to 16.1.0 and added IDE warning suppressions to NoWarn.
Review details
  • Files reviewed: 6/7 changed files
  • Comments generated: 1
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread src/Directory.Build.props
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<WarningsAsErrors>nullable</WarningsAsErrors>
<NoWarn>$(NoWarn);1591;NU1507</NoWarn>
<NoWarn>$(NoWarn);1591;NU1507;IDE0041;IDE0008</NoWarn>
@maximilien-noal
maximilien-noal merged commit bf6f3b6 into master Aug 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3rd party The issue concerns a 3rd party Nuget package and affects us

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants