A dotnet CLI tool (dotnet-new-project) which will create following .NET project structure in folder.
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
.editorconfig
.gitignore
.gitattributes
build.cmd
build.sh
LICENSE
Directory.Build.props
NuGet.Config
README.md
{solution}.sln
This folder is considered as standard folder structure for .NET project in the ecosystem, which is also being used for many of the .NET foundation project.
- Install CLI tool by running following command. (ignore if already installed)
dotnet tool install --global dotnet-new-project
- Create a folder for your project and navigate into it.
mkdir AwesomeProject && cd AwesomeProject
- Run
dotnet-new-project
to create folder structure.