janpio commented on issue #274: MSBuild v4.0 Not supported and possibly why all 
these other MSBuild issues are happening.
URL: https://github.com/apache/cordova-windows/issues/274#issuecomment-388790557
 
 
   `cordova-windows` uses multiple methods to try to figure out a matching 
MSBuild version - it's quite a mess and very brittle code, so I am not too 
surprised it is not working all the time. (But with a default 2017 install - an 
probably without .NET MSBuild installed - it should definitely work)
   
    If it can only find the 4.0, your easiest solution is probably to use the 
`MSBUILDDIR` or `VSINSTALLDIR` environment variables mentioned in the blog post 
here: 
https://cordova.apache.org/announcements/2018/02/27/cordova-windows-6.0.0.html 
Set them and try again, this should override the internal logic.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to