Template for quickly creating a new .NET Core console application on GitPod.
- Templated with
dotnet new console
in the terminal - Namespace set to
dotnetcore
via editor - Setup
.gitignore
for sanity and.gitpod.yml
files for GitPod - GitHub actions setup for building and running tests (incl. badge above)
Note that this was originally forked from https://github.com/gitpod-io/template-dotnet-core-cli-csharp and many of these were already in this template.
This repo is probably the cleanest base to work with for a new console project using GitHub, GitPod, and GitHub Actions.
- Change the namespace in
dotnetcore.csproj
and inProgram.cs
- Change the URL in the badge in
README.md
to match your new repo URL - Good to go! Have fun.
- Clone the repo
- Delete
Program.cs
anddotnetcore.csproj
- Regenerate with
dotnet new console
- Modify as needed to match output
- Check that the .gitignore, .gitpod.yml, and GitHub Action are still up-to-date.
-- Mitchell Johnson