A dotnet
template for creating a bare-bones C# solution.
- Install the .NET Core 2.0 SDK or later versions.
- Download the latest package from releases.
- Install using the following command:
dotnet new -i <path to package>
- Create a new directory with the name of the solution, eg.
C:\MyProject
- Install the solution using the following:
dotnet new prefab
You can customize the output by using the following parameters:
Parameter | Default value | Comments |
---|---|---|
-n|--name | [current dir] | Override the solution and project name to something other than the folder name. |
-o|--output | [current dir] | Write the project to the specified directory. |
--owner | robertcoltheart | This is typically the owning organization or username in GitHub. |
--author | Robert Coltheart | The full name or organization of the solution's author. |
Please read CONTRIBUTING.md for details on how to contribute to this project.
Prefab is released under the MIT License