Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

03. Building the Mod

matthew snoddy edited this page Jul 21, 2020 · 1 revision

This guide will help you build the mod from source, it requires a Windows 10 PC.

Tools Quick Start

  • Install Visual Sudio 2019 Community
    • Select Desktop development with C++ in Installer Options
      • Select MSVC v141 - VS 2017 option
      • Go to individual components and select C++/CLI support for v141 option
  • Download and install Windows 8.1 SDK from here
  • Add msbuild location to your path (default is %PROGRAMFILES(X86)%\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin)

Build Quick Start

  • Open sln file in Visual Studio
  • Select No Upgrade for both the Windows SDK and VC++ version prompts (if this appears)
  • Select the TestConsole configuration
  • Run Local Windows Debugger
  • Files are output to bin\Win32
  • Logs showing rules being configured can be seen @ bin\Win32\log\nco.log

Troubleshooting

If you get a COM error when trying to open the solution/project, follow the below steps:

  • Close Visual Studio
  • Open an admin command prompt
  • Run
    regsvr32 %SystemRoot%\System32\msxml3.dll
    regsvr32 %SystemRoot%\SysWOW64\msxml3.dll
  • You should now be able to open the project/solution

Clone this wiki locally