An open API service indexing awesome lists of open source software.

https://github.com/candy-kingdom/template-cs

A batteries-included repository template for C# packages.
https://github.com/candy-kingdom/template-cs

csharp dotnet nuget nuget-package

Last synced: 3 months ago
JSON representation

A batteries-included repository template for C# packages.

Awesome Lists containing this project

README

          


Logo

template-cs


A batteries-included repository template for C# packages.


Nuget

## Features
- `Core` project that represents the library
- `Tests` project with `xUnit`, `FluentAssertions` and `NSubstitute` installed
- `Benchmarks` project with `BenchmarkDotNet` installed
- `Playground` project for playing with stuff in the console
- `.editorconfig` (fully configured)
- NuGet publish for `Core` project
- GitHub Actions: testing (`test.yml`) and deployment (`deploy.yml`)

## Install
- Make sure [`dotnet-script`](https://github.com/dotnet-script/dotnet-script) tool is installed
- Execute `dotnet script install.csx` at the root of the repository

### Example
```sh
$ dotnet script install.csx
Project name: Test
Project description: Test description.
Repository name (e.g., 'candy-kingdom/summary'): candy-kingdom/test
Installing...
√ Step 1
√ Step 2
√ ...
√ Step N
Done!
```