The MSApp object and its members are supported only for Windows Store apps using JavaScript (WWAs). Like many WWA objects, the MSApp object only exists in the local context of a WWA (that is, an HTML document in a WWA loaded via the ms-appx URI scheme); otherwise, the object doesn’t exist (and consequently, none of its methods and properties are available).
It looks like node-uwp doesn't provide access to this MSApp object (at least direct .projectNamespace('MSApp') didn't work for me), and neither it's defined in WinJS that comes with Visual Studio template.
In that case, I'm wondering where is that object defined and whether there is any way to access it via node-uwp.
MSDN page says:
It looks like
node-uwp
doesn't provide access to thisMSApp
object (at least direct.projectNamespace('MSApp')
didn't work for me), and neither it's defined in WinJS that comes with Visual Studio template.In that case, I'm wondering where is that object defined and whether there is any way to access it via
node-uwp
.