Skip to content

Upgrade all NuGet packages to latest versions - #9

Merged
Phelecks merged 2 commits into
mainfrom
copilot/upgrade-all-nuget-packages
Mar 22, 2026
Merged

Phelecks merged 2 commits into
mainfrom
copilot/upgrade-all-nuget-packages

Conversation

Copilot AI commented Mar 22, 2026 •

Copy link
Copy Markdown
Contributor

Bumps all dependencies to their latest stable releases, most notably Nethereum 5.8.0 → 6.0.4, which also resolves the NU1608 warning caused by Nethereum's stale upper-bound constraint on Microsoft.Extensions.Logging.Abstractions.

Package updates

Package Old New
Nethereum.Web3 / Nethereum.Signer 5.8.0 6.0.4
Microsoft.Extensions.* 10.0.1 10.0.5
Microsoft.Extensions.Caching.Hybrid 10.1.0 10.4.0
NUnit 4.4.0 4.5.1
NUnit3TestAdapter 6.1.0 6.2.0
Microsoft.NET.Test.Sdk 18.0.1 18.3.0
coverlet.collector 6.0.4 8.0.1
Newtonsoft.Json 13.0.3 13.0.4

Breaking change (Nethereum 6.x)

Chain.BinanceSmartChain was renamed to Chain.Binance. No source code was affected — updated references in both READMEs.

// Before (Nethereum 5.x)
Chain = Chain.BinanceSmartChain

// After (Nethereum 6.x)
Chain = Chain.Binance

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:

  • eth-rpc-error-1.example.com
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 43711 --endpoint 127.0.0.1:043711 --role client --parentprocessid 5296 --telemetryoptedin false (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 39845 --endpoint 127.0.0.1:039845 --role client --parentprocessid 5397 --telemetryoptedin false (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 38773 --endpoint 127.0.0.1:038773 --role client --parentprocessid 5475 --telemetryoptedin false (dns block)
  • eth-rpc-error-2.example.com
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 43711 --endpoint 127.0.0.1:043711 --role client --parentprocessid 5296 --telemetryoptedin false (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 39845 --endpoint 127.0.0.1:039845 --role client --parentprocessid 5397 --telemetryoptedin false (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 38773 --endpoint 127.0.0.1:038773 --role client --parentprocessid 5475 --telemetryoptedin false (dns block)
  • eth-rpc.example.com
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 43711 --endpoint 127.0.0.1:043711 --role client --parentprocessid 5296 --telemetryoptedin false (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 39845 --endpoint 127.0.0.1:039845 --role client --parentprocessid 5397 --telemetryoptedin false (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/RpcProvider.Tests.deps.json /home/REDACTED/work/RpcProvider/RpcProvider/tests/RpcProvider.Tests/bin/Release/net10.0/testhost.dll --port 38773 --endpoint 127.0.0.1:038773 --role client --parentprocessid 5475 --telemetryoptedin false (dns block)

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


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI changed the title [WIP] Update all NuGet packages including Nethereum Upgrade all NuGet packages to latest versions Mar 22, 2026
Copilot AI requested a review from Phelecks March 22, 2026 18:43
@Phelecks
Phelecks marked this pull request as ready for review March 22, 2026 19:12
Copilot AI review requested due to automatic review settings March 22, 2026 19:12
@Phelecks
Phelecks merged commit b3810eb into main Mar 22, 2026
7 checks passed
@Phelecks
Phelecks deleted the copilot/upgrade-all-nuget-packages branch March 22, 2026 19:13

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.

Pull request overview

This PR upgrades the solution’s NuGet dependencies to newer stable versions, most notably moving Nethereum to 6.x to resolve prior dependency-constraint warnings and align the docs with the updated Nethereum Chain enum naming.

Changes:

  • Updated centrally-managed NuGet package versions (Nethereum, Microsoft.Extensions.*, test tooling, Newtonsoft.Json).
  • Updated README examples to use Chain.Binance (renamed from Chain.BinanceSmartChain in Nethereum 6.x).
  • Minor documentation adjustments in both root and package README to reflect the new enum member name.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Directory.Packages.props Bumps centrally-managed package versions across runtime + test dependencies.
README.md Updates BSC sample to use Chain.Binance for Nethereum 6.x compatibility.
src/RpcProvider/README.md Updates the “Available Chain Values” list to use Chain.Binance.

Comment thread src/RpcProvider/README.md
- `Chain.Sepolia` = 11155111 (Ethereum Testnet)
- `Chain.Polygon` = 137
- `Chain.BinanceSmartChain` = 56
- `Chain.Binance` = 56

Copilot AI Mar 22, 2026

Copy link

Choose a reason for hiding this comment

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

This README still lists the dependency requirement as Nethereum.Web3 5.0.0+, but this PR upgrades Nethereum to 6.0.4. Please update the stated minimum/expected Nethereum version in the dependencies/prerequisites section so documentation matches the actual package versions.

Suggested change
- `Chain.Binance` = 56
- `Chain.BinanceSmartChain` = 56

Copilot uses AI. Check for mistakes.
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