Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.73 KB

development-tips.md

File metadata and controls

53 lines (41 loc) · 1.73 KB

Development tips

Quick start

These environment and build steps were tested on a Windows 11 PC and macOS Catalina laptop. Updated 2021-12-28.

We expect the overall process to remain the same; however some steps may shift slightly over time. We'll keep this updated to the best of our ability.

Prerequisites

  • .NET Core SDK 6
    • 6.0.101 at the time of this writing
    • x64 was used; not sure about other versions
    • Ubuntu Linux 21.10
wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
  • Install .net sdk
sudo apt-get update; \
  sudo apt-get install -y apt-transport-https && \
  sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-6.0

Build

  • Debug
    • dotnet build
      • Yep, that's it!
    • Artifacts are dumped to MBBSEmu\bin\Debug\netcoreapp5.0
  • Release
    • dotnet build --configuration Release
    • Artifacts are dumped to MBBSEmu\bin\Release\netcoreapp5.0

Run the tests

  • dotnet test
    • That should be it!