RecreateSolutionStructure 1.2.0

dotnet tool install --global RecreateSolutionStructure --version 1.2.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.2.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RecreateSolutionStructure&version=1.2.0                
nuke :add-package RecreateSolutionStructure --version 1.2.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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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.2.0 21,226 4/6/2023
1.1.1 270 3/15/2023
1.1.0 358 2/13/2023
1.0.1 299 2/9/2023
1.0.0 283 2/7/2023