dotnet publish can produce very different outputs from the same project: a small framework-dependent app that needs .NET installed, a self-contained folder that carries its own runtime, a single file, a ReadyToRun build or a Native AOT executable. This guide explains each mode with the exact command, what it produces, and how to choose.
The .NET CLI can tell you which NuGet packages in a project or solution are out of date, deprecated or have known vulnerabilities, including packages you only get indirectly. This guide shows the command (renamed dotnet package list in .NET 10), every useful option, how to read the output, and how to turn it into a JSON report for CI.
Three commands tell you exactly which .NET SDKs and runtimes are on a machine: dotnet --list-sdks, dotnet --list-runtimes and dotnet --info. This guide shows what each one prints, how to read SDK and runtime versions, where .NET installs itself on Windows, macOS and Linux, and what to check when the dotnet command is not found.
A global.json file tells the dotnet CLI which SDK to use for a repository, so every developer and every CI agent builds with a compatible SDK. This guide shows how to create one, how the SDK finds it, what each rollForward value allows, and the paths, errorMessage and test runner settings added in the .NET 10 SDK.