Skip to content

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

License

Notifications You must be signed in to change notification settings

rosenbjerg/recreate-sln-structure

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages