When cloning this repo, clone like so
git clone --recurse-submodules git@github.com:ExoKomodo/paint.git
If you forget --recurse-submodules
in the clone, you can fix this by running these commands in the git repo
git submodule init
git submodule update --recursive --remote
On Ubuntu Jammy and up, install dotnet with apt
sudo apt install dotnet-sdk-7.0
Install .NET 7 via the downloaded installer
Install sdl2 dev libraries
sudo apt install libsdl2-dev
Install Homebrew
Use brew
to install sdl2 dev libraries
brew install sdl2
Using the dotnet
CLI is the easiest way to build and manage this project.
To build the project, you have these options
dotnet build
dotnet restore
dotnet build --no-restore --configuration Debug
dotnet restore
dotnet build --no-restore --configuration Release
dotnet build src/Paint
dotnet restore
dotnet build --no-restore --configuration Debug src/Paint
dotnet restore
dotnet build --no-restore --configuration Release src/Paint
dotnet run --project src/Paint
dotnet restore
dotnet run --no-restore --configuration Debug --project src/Paint
dotnet restore
dotnet run --no-restore --configuration Release --project src/Paint
dotnet publish src/Paint
dotnet restore
dotnet publish --no-restore --configuration Debug src/Paint
dotnet restore
dotnet publish --no-restore --configuration Debug src/Paint