You can debug what requirements it tries to detect for MSBUILD by running:
    cordova requirements --verbose
On Wed, Aug 15, 2018 at 1:39 PM Shazron <shaz...@gmail.com> wrote:
>
> Repro steps:
>
> ```
> npm install -g cordova
> cordova create foo
> cd foo
> cordova platform add https://github.com/apache/cordova-windows#6.0.1
> cordova run
> ```
>
> Pre-requisites:
> - Visual Studio 2017 Community installed with defaults
> - Windows 10 SDK
> - Set env var `MSBUILDDIR` to 'C:\Program Files
> (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin'
>
> On Wed, Aug 15, 2018 at 1:36 PM Shazron <shaz...@gmail.com> wrote:
> >
> > Had trouble meeting the requirements to build, using VS 2017 Community 
> > edition
> > I had to set the MSBUILDDIR env var explicitly to C:\Program Files
> > (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin since
> > our code fails to detect the MSBuild version installed with that,
> > v15.8.
> >
> > The registry entry it checks still has MSBuild v4 from the .NET
> > Framework -- so perhaps our detection is outdated.
> >
> > After I added the env var, I could `cordova build`.
> > `cordova run` guided me to change some settings and run in elevated
> > permissions, and I ran `cordova run` again.
> >
> > The app launches, and I get a 'broken image` icon for the splash
> > screen. Is this a known issue?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to