Skip to main content
Example Repo

Adding .NET to your project

devbox add dotnet-sdk, or add the following to your devbox.json:
  "packages": [
    "dotnet-sdk@latest"
  ]
This will install the latest version of the dotnet SDK. You can find other installable versions of the dotnet SDK by running devbox search dotnet-sdk. If you need a specific version of the .NET SDK, you can search on Nixhub

Creating a new C# Project

dotnet new console -lang "C#" -o <name> Edit this page
I