https://github.com/joeyguerra/dotnet-starter
Opinionated dotnet starter app
https://github.com/joeyguerra/dotnet-starter
Last synced: 3 months ago
JSON representation
Opinionated dotnet starter app
- Host: GitHub
- URL: https://github.com/joeyguerra/dotnet-starter
- Owner: joeyguerra
- License: mit
- Created: 2021-10-02T17:28:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T18:34:28.000Z (over 3 years ago)
- Last Synced: 2025-01-26T06:23:09.719Z (5 months ago)
- Language: Makefile
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet-starter
Opinionated dotnet starter app.
## Mission Control
I chose `make` as the Mission Control tool.
## Docs
- README.md - Introduction, developer setup, instructions for common tasks
- JOURNEY.md - Context and background on decisions. Great for providing perspective to your future self.## Setup
1. Install `dotnet`
- MacOS - `brew install dotnet`
- Windows - `choco install dotnet` via [Chocolately](https://chocolatey.org)
- Ubuntu
- curl https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb --output packages-microsoft-prod.deb
- dpkg -i packages-microsoft-prod.deb
- rm packages-microsoft-prod.deb
- apt-get update
- apt-get install -y apt-transport-https
- apt-get install -y dotnet-sdk-5.0
1. Install `make`
- MacOS - `brew install make`
- Windows - `choco install make`
- Ubuntu - `sudo apt-get install build-essential`## Create a Console App
I'm in VS Code. In the terminal, I can just copy and paste this in the terminal and hit `enter` to run all the commands at once.
```bash
dotnet new sln -o .
dotnet new classlib -o DotnetStarter
dotnet sln add DotnetStarter/DotnetStarter.csproj
dotnet new xunit -o DotnetStarter.Tests
dotnet sln add ./DotnetStarter.Tests/DotnetStarter.Tests.csproj
```## Step 2.
Run `dotnet test` and see a Failing test.