Giter Site home page Giter Site logo

Custom solution hierarchy about slngen HOT 5 CLOSED

microsoft avatar microsoft commented on May 19, 2024 1
Custom solution hierarchy

from slngen.

Comments (5)

jeffkl avatar jeffkl commented on May 19, 2024

At the moment you cannot customize the hierarchy. I've been wanting to put in these features:

  • Flat hierarch (no folders at all)
  • Collapse single project folders (if a folder contains only a single folder, collapse it to something like src\foo\bar)
  • Custom hierarchy

If you have time to contribute anything, please feel free!

from slngen.

jeffkl avatar jeffkl commented on May 19, 2024

For now we support having folders or not. Let’s re-open if more people request custom hierarchy

from slngen.

icnocop avatar icnocop commented on May 19, 2024

I think #466 and #467 are related.

from slngen.

icnocop avatar icnocop commented on May 19, 2024

A humble +1 for generating a sln file with a custom solution folder hierarchy for a set of project files (or a traversal project file).

As a work-around, here are some other tools which may allow this:

  1. Run slngen multiple times for each subtree and then merge the multiple sln files into one using dotnet-slnmerge or merge-solutions
  2. SubSolution

from slngen.

icnocop avatar icnocop commented on May 19, 2024

For reference, support for

Collapse single project folders (if a folder contains only a single folder, collapse it to something like src\foo\bar)

Was added with the --collapsefolders command line option.

It doesn't seem like there's an equivalent MSBuild property for it though.

from slngen.

Related Issues (20)

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.