Giter Site home page Giter Site logo

themotleyfool / slimjim Goto Github PK

View Code? Open in Web Editor NEW
26.0 53.0 16.0 2.42 MB

Visual Studio solution file generator. Generates solution file based on a root project, and pulls in all projects which have a reference to the root, as well as all of its own dependencies.

License: MIT License

C# 98.61% Smalltalk 1.39%

slimjim's Introduction

SlimJim

SlimJim genereates Visual Studio solution files that include related projects from disparate repositories.

To install SlimJim, run the following command in the NuGet Package Manager Console

PM> Install-Package SlimJim

SlimJim is meant to be invoked from the command line. It will search a given directory recursively for .csproj files, and include them in a new solution file if:

  • The name matches one of the target project files.
  • The project has a dependency on one or more of the target project files.
  • One of the target project files has a dependency on it.
  • Any project to be included in the solution has a reference to it.

Invocation

  • --target ProjectName Required; include one or more target projects in your solution. All dependencies will be included for them. Repeat switch for multiple targets.
  • --root C:\Projects\Root Optional; indicates the directory which contains the root project that you want to build a solution file for. Defaults to the working directory.
  • --search C:\Additional\Search\Path Optional; specify one or more directories to search for projects that depend on or are depdended on by the target projects.
  • --out SolnDir Optional; specify a directory other than the working or target directory to write the generated solution file.
  • --version 2008 Optional; supported versions: 2008, 2010 (default).
  • --name SolutionName Optional; alternate name for generated solution file. If omitted, defaults to target project name.
  • --all Optional; indicates that all efferent assembly references should be included in the solution. By default, they are omitted.
  • --ignore Optional; indicates that directories with names matching the given regex pattern will be ignored. Repeat for multiple patterns.
  • --open Optional; opens the solution in Visual Studio after generating it.
  • --convert Optional; modifies relevant csproj files to use Project References instead of Assembly References.
  • --unconvert Optional; reverses changes made by --convert flag.
  • --fixhintpaths Optional; adjust HintPath metadata in relevant csproj files to point to directory relative to generated Solution.
  • --restorehintpaths Optional; reverses changes made by --fixhintpaths flag.

Upcoming features

  • .slim file in your projects root directory can contain details for generation of one or more solution files. This will allow for simple invocation, e.g. "C:\MyProjects>slimjim".

Known issues

  • No error handling

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.