Skip to content

Project setup

Demian Banakh edited this page Oct 13, 2022 · 6 revisions
  1. Clone the repo
  2. IDE-specific setup (?)
    • Rider - no setup, just "Open" the root sernick folder
    • Visual Studio - ?
  3. .NET is sometimes installed as a part of the IDE, but you can install as a standalone .NET SDK: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.402-windows-x64-installer
  4. Check that .NET is installed $ dotnet --version
  5. In order to make sure you adhere to the linting we use on Github
$ dotnet tool install -g dotnet-format
$ # or install the latest build: I used this command
$ dotnet tool install -g dotnet-format --version "6.*" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json
  1. Check that dotnet-format is installed successfully
$ dotnet format --version
  1. In order to format the code before you push:
$ dotnet format ./src/sernick
$ dotnet format ./test/sernickTest
  1. You should be able to run the unit tests from your IDE, but just in case:
$ dotnet test ./test/sernickTest
Clone this wiki locally