RecreateSolutionStructure 1.3.0

dotnet tool install --global RecreateSolutionStructure --version 1.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local RecreateSolutionStructure --version 1.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RecreateSolutionStructure&version=1.3.0
                    
nuke :add-package RecreateSolutionStructure --version 1.3.0
                    

A dotnet tool for moving project files into the directories specified by the solution (.sln) file

NuGet Badge codecov

Useful for optimizing cache reuse in containerized .NET builds

Usage example

COPY ["MySolution.sln", "**/*.csproj", "./"]
RUN recreate-sln-structure MySolution.sln && dotnet restore MySolution.sln

Help

Description:
  Recreate solution directory tree, i.e. for use in building a containerized .NET application with cached restore layer
  Takes the path to a solution (.sln) file as input, and moves
  Example: 'recreate-sln-structure MySolution.sln'

Usage:
  recreate-sln-structure <path to sln> [options]

Arguments:
  <path to sln>  File path to the solution (.sln) file

Options:
  -i, --ignore-missing-projects  Ignore missing project files [default: False]
  --version                      Show version information
  -?, -h, --help                 Show help and usage information
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.3.0 205 10/16/2025
1.2.0 36,494 4/6/2023
1.1.1 402 3/15/2023
1.1.0 492 2/13/2023
1.0.1 438 2/9/2023
1.0.0 397 2/7/2023