Coder Social home page Coder Social logo

Comments (5)

janpio avatar janpio commented on May 30, 2024

Uh, I don't think anyone ever tried that.

You might want to try the environment variables mentioned in this blog post: https://cordova.apache.org/announcements/2018/02/27/cordova-windows-6.0.0.html

from cordova-windows.

sudotamm avatar sudotamm commented on May 30, 2024

@janpio
I add MSBUILDDIR variable and try to build again. Failed with error "CordovaError: No valid MSBuild was detected for the selected target: Windows SDK not found. Ensure that you have installed Windows 10.0 SDK along with Visual Studio or install Windows 10.0 SDK separately from https://dev.windows.com/en-us/downloads".
Is that means windows 10.0 SDK must run with Windows 10 OS?

from cordova-windows.

janpio avatar janpio commented on May 30, 2024

Very much possible, yes.

I worked on / messed with that code (finding MSBuild) some time ago, and I am not sure if it was actually made for a non Windows environment. You will probably have to look at the code to figure that out (Best use the error messages you are getting to find the correct code parts).

from cordova-windows.

janpio avatar janpio commented on May 30, 2024

Reading this again later: No, this just means that you have to have the Windows 10.0 SDK installed. It's very possible that this only works on Windows of course.

from cordova-windows.

janpio avatar janpio commented on May 30, 2024

I checked: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk makes it clear that Windows 10 SDK can only be installed on Windows 10, and not on macOS or Linux.

Thus the response to your initial question is unfortunately: No, building, running and emulating a Cordova Windows app will only work on Windows.

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.