Skip to content

fix: remove broken Nuke.Common.IO imports after v10 upgrade#22

Merged
phmatray merged 1 commit into
mainfrom
fix/action-continuous
Feb 28, 2026
Merged

fix: remove broken Nuke.Common.IO imports after v10 upgrade#22
phmatray merged 1 commit into
mainfrom
fix/action-continuous

Conversation

@phmatray
Copy link
Copy Markdown
Contributor

Summary

  • Removes using static Nuke.Common.IO.FileSystemTasks; and using static Nuke.Common.IO.PathConstruction; from build/Build.cs
  • Both types were removed in Nuke.Common v10 (merged via Renovate PR chore(deps): update dependency nuke.common to v10 #19)
  • The code already uses the new Nuke v10 extension method API (AbsolutePath.GlobDirectories(), AbsolutePath.CreateOrCleanDirectory(), / operator) so these imports were unused

Root Cause

PR #19 upgraded Nuke.Common to v10, which removed FileSystemTasks and PathConstruction from Nuke.Common.IO. The build script referenced these in using static imports, causing error CS0234 on CI.

Test plan

  • CI (continuous workflow) passes after merge

FileSystemTasks and PathConstruction were removed in Nuke.Common v10.
The code already uses the new extension method API style, so these
unused using static imports just need to be removed.
@phmatray phmatray merged commit fcd9c10 into main Feb 28, 2026
1 check failed
@phmatray phmatray deleted the fix/action-continuous branch February 28, 2026 00:21
phmatray added a commit that referenced this pull request Mar 9, 2026
* docs: include stats

* chore: Upgrade to .NET 10

This PR upgrades the project to .NET 10 (latest stable release).

Changes:
- Updated all .csproj files to target net10.0
- Updated global.json to SDK 10.0.100 with latestFeature rollForward
- Updated GitHub Actions workflows to use .NET 10.x and setup-dotnet@v5
- Verified successful build locally

Migration notes:
- .NET 10 includes C# 13 language features
- All NuGet packages should be compatible
- CI/CD will validate cross-platform builds

* chore: add Renovate configuration

* chore: remove Dependabot configuration (switching to Renovate)

* chore: remove Qodana configuration

* docs: standardize README following org template

* chore(deps): update dependency nuke.common to 9.0.4

* chore(deps): update dotnet monorepo

* chore(deps): update dependency betalgo.ranul.openai to 9.2.6 (#14)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency scrutor to 5.1.2 (#15)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/cache action to v5 (#17)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v6 (#18)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency nuke.common to v10 (#19)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency scrutor to v7 (#20)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update spectre-console monorepo (#16)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dotnet monorepo to v10 (#21)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: remove broken Nuke.Common.IO imports after v10 upgrade (#22)

FileSystemTasks and PathConstruction were removed in Nuke.Common v10.
The code already uses the new extension method API style, so these
unused using static imports just need to be removed.

* fix: update ExecuteAsync signature for Spectre.Console v1 breaking change (#23)

AsyncCommand<T>.ExecuteAsync now requires a CancellationToken parameter
in the latest Spectre.Console version. Add the parameter to satisfy the
override contract.

* ci: restrict triggers to main branch and add concurrency (#24)

- Change trigger from all pushes to push/PR on main only
- Add concurrency group to cancel redundant runs
- Add .NET 10.0.x SDK alongside existing versions

* chore: configure Renovate auto-merge for patch+minor

* chore: add standardized renovate config (#25)

* chore: standardize renovate config

* chore: fix renovate config for repo technologies

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@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.

1 participant