© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago
onepiecefreak

Multi-Project templates without a root folder

I have a multi-project template and I want those multiple projects to not be created in a root folder inside the solution, but instead as separate folders on the same layer.

Currently, the behaviour of my template would be this:
SolutionFolder\
  Business.Logic\
    Business.Logic\
    Business.Logic.Contract\
SolutionFolder\
  Business.Logic\
    Business.Logic\
    Business.Logic.Contract\


But I'd like to have:
SolutionFolder\
  Business.Logic\
  Business.Logic.Contract\
SolutionFolder\
  Business.Logic\
  Business.Logic.Contract\


I found some solutions online that, however, require some form of code extension to visual studio, to basically post process the template or something? But this is currently not feasable.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ How to create a folder in project root?
C#CC# / help
2y ago
Custom project templates within a solution, without a nuget package?
C#CC# / help
8mo ago
Multi Assembly wwwroot folder Loading
C#CC# / help
17mo ago
FileWatcher for project folder
C#CC# / help
17mo ago