This is some example code to show how a plugin for Rage Plugin Hook, written in C++/CLI, can be built using Visual Studio Code.
It is necessary to compile using Visual Studio Code, instead of Visual Studio, as the latter crashes when a reference to the RagePluginHookSDK.dll is added to a C++/CLI project.
- Visual Studio Code
- Visual Studio Code configured for Microsoft C++
- Need to write '#using "RagePluginHookSDK.dll"' in each compilation unit to have intellisense (bug resurfaced?).
- VS Code does not show RPH documentation, even when RagePluginHookSDK.xml is placed in the project directory.
The code is placed in the public domain.
Rage plugin hook was developed by MulleDK19 and LMS.