Cordova project and windows platform

后端 未结 2 1721
生来不讨喜
生来不讨喜 2021-01-05 11:31

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         


        
相关标签:
2条回答
  • 2021-01-05 11:53

    You have of install Microsoft Build Tools:

    https://www.visualstudio.com/downloads/

    • Navigate to Other Tools and Frameworks
    • Download Build Tools for Visual Studio 2017
    • After, set OS environment variable VSINSTALLDIR = C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\ which points to your Visual Studio folder with MSBuild directory
    0 讨论(0)
  • 2021-01-05 12:08

    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.

    0 讨论(0)
提交回复
热议问题