Coder Social home page Coder Social logo

Comments (6)

liuxh0 avatar liuxh0 commented on May 29, 2024 2

Of course.

I just set the env variable MSBUILDDIR to the path where VS is installed, in my case C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin.

unbenannt

from cordova-windows.

liuxh0 avatar liuxh0 commented on May 29, 2024 1

@janpio , you solved my problem! Thanks!

from cordova-windows.

janpio avatar janpio commented on May 29, 2024

cordova-windows 5.x had problems with VS2017 in general, that's probably why that is not working.
cordova-windows 6.x should work with VS17, but seems the newer MSBuild somehow trips it up.

Maybe try setting the env vars mentioned here to try to fix this: https://cordova.apache.org/announcements/2018/02/27/cordova-windows-6.0.0.html

from cordova-windows.

janpio avatar janpio commented on May 29, 2024

Awesome, thanks for the update!

Do you mind sharing what exactly solved the problem? Future readers might appreciate it.

from cordova-windows.

KevinKeyssx avatar KevinKeyssx commented on May 29, 2024

Hello, I have the same problem, but I do not have VS 2017 and 2019 therefore I cannot configure the MSBUILDDIR environment variable, I only have Android Studios and the error is:

MSBuild v4.0 is not supported, aborting.
Error: AppPackages does not exist

My version of cordova is:
7.0.0

Any idea how to solve the problem I have?

image

from cordova-windows.

janpio avatar janpio commented on May 29, 2024

You generally need Visual Studio to build Cordova Windows.

Please open a new issue if you still have questions. Thanks.

from cordova-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.