Comments (5)
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.
For now we support having folders or not. Let’s re-open if more people request custom hierarchy
from slngen.
I think #466 and #467 are related.
from slngen.
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:
- Run slngen multiple times for each subtree and then merge the multiple sln files into one using dotnet-slnmerge or merge-solutions
- SubSolution
from slngen.
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)
- Logging Parameters help examples don't work
- Adding logging causes exception and failure HOT 4
- slngen failing when running on Windows Server 2022 and Linux intermittently HOT 4
- Freeze .NET 8 runtime version requirement HOT 1
- Support MSBuild Target for .NET 7 and 8 HOT 2
- Project file paths get scrambled with error MSB4025 HOT 2
- Support for nested folders in SlnGenSolutionFolder HOT 1
- Cannot build - either with our without .NET 8.0 HOT 6
- Place solution items in the respective folder hierarchy HOT 3
- Gather solution items from entire project list HOT 1
- Feature request: Customize solution using MSBuild properties when using tool HOT 3
- --collapsefolders = true not working for single sub-folders HOT 2
- error MSB4006: There is a circular dependency in the target dependency graph involving target "_GenerateRestoreProjectPathWalk" HOT 2
- The solution folder is not created properly if the driver letters are different. HOT 5
- Drop net5.0 and remove conditions from net8.0 TFM HOT 3
- Support .NET 9 previews HOT 4
- SlnProject has a property IsBuildable but doesn't do anything
- SlnGen unexpectedly fails when using dotnet restore
- Issue generating .sln file w/ 11.2.3 HOT 6
- slnx support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slngen.