Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.87 KB

development-tips.md

File metadata and controls

55 lines (43 loc) · 1.87 KB

Development tips

Quick start

These environment and build steps were tested on a Windows 11 PC and macOS Ventura laptop. Updated 2023-01-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
    • 7.0.102 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\net7.0
      • The last directory name may change based on major .net version changes
  • Release
    • dotnet build --configuration Release
    • Artifacts are dumped to MBBSEmu\bin\Release\net7.0
      • The last directory name may change based on major .net version changes

Run the tests

  • dotnet test
    • That should be it!