Skip to content

dotnet_cli

syntax-tm edited this page Jul 13, 2024 · 1 revision

Building SAM

Prerequisites

Note

If you're using 64-bit Windows, you will need the x64 install of the SDK. If for some reason you are using a 32-bit installation of Windows, use the x86 install.

WinGet

winget is a command line package manager for Windows. It enables users to discover, install, upgrade, remove and configure applications on Windows 10 and Windows 11 computers.

# install the .NET 8 SDK
winget install Microsoft.DotNet.SDK.8

dotnet Command Line

  1. Open Terminal (or PowerShell)

Note

In Windows 10 and 11, you can open a console by right-clicking the Start Menu and selecting Terminal (default in Windows 11) or PowerShell.

  1. Navigate to the SAM project folder

    # for example, if you cloned the repo to C:\projects, you would run
    cd C:\projects\SteamAchievementManager\src\SAM
  2. Build the SAM.csproj project

    dotnet build -c Debug -a x86
  3. Run the project

    dotnet run -a x86

Troubleshooting

"The term 'dotnet' is not recognized as a name of a cmdlet..."

This means the dotnet

Clone this wiki locally