(I am using JetBrains Rider)
$ dotnet build
On macOS, you'll need to manually install Gtk, see Installing Gtk on Mac wiki page for more details on how to do it.
install:dotnet new --install GtkSharp.Template.CSharp
uninstall:dotnet new --uninstall GtkSharp.Template.CSharp