Skip to content

Conversation

@Arlodotexe
Copy link
Collaborator

@Arlodotexe Arlodotexe commented Aug 17, 2025

Update GitHub Actions runners to use .NET 9 SDK and retarget tests to net9.0.

This resolves CI failures from PolySharp (POLYSPCFG0001) requiring Roslyn 4.3+ on older SDKs.

From https://github.com/ipfs-shipyard/net-ipfs-http-client/actions/runs/17017184933/job/48241376302#step:4:25:

Error: /home/runner/.nuget/packages/polysharp/1.14.1/buildTransitive/PolySharp.targets(45,5): error POLYSPCFG0001: The PolySharp source generators have been disabled on the current configuration, as they need Roslyn 4.3 in order to work. PolySharp requires the source generators to run in order to generate polyfills, so the library cannot be used without a more up to date IDE (eg. VS 2022 17.3 or greater) or .NET SDK version (.NET 6.0.400 SDK or greater). [/home/runner/work/net-ipfs-http-client/net-ipfs-http-client/src/IpfsHttpClient.csproj]
  • build.yml: setup-dotnet 9.0.x
  • publish.yml: setup-dotnet 9.0.x
  • test/IpfsHttpClientTests.csproj: TargetFrameworks=net9.0

No product code changes.

@Arlodotexe Arlodotexe merged commit c9b7aa4 into main Aug 17, 2025
1 check failed
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