Skip to content

[P4] Rename .csproj files and project references (BREAKING) #34

Description

@ChrisonSimtian

Scope

```
source/Nuke.Common/Nuke.Common.csproj → Fallout.Common/Fallout.Common.csproj
source/Nuke.Build/... → Fallout.Build/...
source/Nuke.Components/... → Fallout.Components/...
... (and so on for every project)
```

Implications

  • Solution file (`fallout.slnx`) project paths update.
  • Every `<ProjectReference Include="...\Nuke.X.csproj" />` updates.
  • Test projects (`*.Tests`) get the same treatment.
  • `AssemblyInfo.cs` InternalsVisibleTo entries update.
  • `` matches `` by default → packages auto-rename.
  • nupkg files in `output/` switch names too.

Tooling

Best done in Rider with "Rename Project" — handles directory + file + reference updates atomically.

Sibling `*.Generated.cs`

Tool wrappers (`source/Nuke.Common/Tools//.json`) get regenerated under the new namespace. The `.json` file paths stay flat (`Tools//.json`) — the directory name `Tools` is part of the project layout, not the namespace.

Risk

Touches every PackageReference in downstream user projects. Coordinates with [P4] namespace rename — they typically land together.

Done when

  • All projects renamed
  • Solution loads in IDE without unresolved references
  • `dotnet pack` produces `Fallout.*.nupkg` files
  • No `Nuke.*` file paths remain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions