Skip to content

visual_studio

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

Building in Visual Studio

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.

Note

If you're new to Visual Studio, the Community edition is free and includes everything you will need.

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 Visual Studio 2022 Community
winget install Microsoft.VisualStudio.2022.Community

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

Setup

  1. After installing Visual Studio 2022, open the Visual Studio Installer
  2. Select Modify on the Visual Studio 2022 installation
  3. Check the .NET desktop development Workload
  4. Select Modify to apply your changes

Instructions

  1. Open the Solution file (SAM.sln)
    • You can also open the Solution Filter file, SAM_NoTests.slnf, if you only want to load the required projects
  2. Change the configuration to x86 (example)
    • This is a requirement to run properly since the steamclient.dll library SAM uses is 32-bit
  3. Press F5 start debugging
Clone this wiki locally