Debug error in Visual Studio 2017

Hi!

I am following the tutorial from @gamedev-js from the bottom of the thread here https://forums.rpgmakerweb.com/inde...-app-to-universal-windows-platform-uwp.86203/

I am using the WinJS template to create a UWP for Xbox in VS 2017. I added the lines to the bottom of the main.js file:

function newFunction() {
PluginManager.setup($plugins);

window.onload = function () {
SceneManager.run(Scene_Boot);
};
}

...but everytime I run the project it throws a bug saying that 'PluginManager' is not defined.

Could any good soul help me?

Original thread: https://forums.rpgmakerweb.com/threads/debug-error-in-visual-studio-2017.154940/