I have a cordova project and I added windows platform but when I run the project I have this error:
MSBuild v4.0 is not supported, aborting.
Error: AppPackag
You have of install Microsoft Build Tools:
https://www.visualstudio.com/downloads/
Try to set OS environment variable VSINSTALLDIR = C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\ which points to your Visual Studio folder with MSBuild directory.