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.
- Host: GitHub
- URL: https://github.com/candy-kingdom/template-cs
- Owner: candy-kingdom
- License: mit
- Created: 2023-04-17T17:16:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-18T14:07:04.000Z (over 2 years ago)
- Last Synced: 2025-10-10T06:30:26.470Z (10 months ago)
- Topics: csharp, dotnet, nuget, nuget-package
- Language: C#
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
template-cs
A batteries-included repository template for C# packages.
## 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!
```