New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any problem in build process triggers "No valid MSBuild was detected for the selected target:" exception #266

Open
janpio opened this Issue Feb 23, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@janpio
Contributor

janpio commented Feb 23, 2018

After code restructuring this Exception is triggered a bit too often.

E.g. if just the build process in MSBuild fails:

CordovaError: No valid MSBuild was detected for the selected target: Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1

@vincent-at-684857612710

This comment has been minimized.

vincent-at-684857612710 commented Apr 12, 2018

Any luck resolving this issue??

@janpio

This comment has been minimized.

Contributor

janpio commented Apr 12, 2018

Which one exactly?

This issue refers to a problem in the way the code is structured - returning an exception that is not 100% correct all the times.

@vincent-at-684857612710

This comment has been minimized.

vincent-at-684857612710 commented Apr 12, 2018

I get the above mentioned error whenever i run cordova build windows

I have uninstalled Cordova and installed previous version where linux, windows and windows phone were supported..

I tried command on mac and windows.

@janpio

This comment has been minimized.

Contributor

janpio commented Apr 12, 2018

Please open a new issue so we can debug this step by step. (Start by including your cordova platform list and cordova -v output, also the complete output and the command you are running)

@shazron

This comment has been minimized.

Contributor

shazron commented Aug 15, 2018

Essentially the MSBuild detection code does not work well with VS 2017. Duping this into #274

@shazron shazron closed this Aug 15, 2018

@janpio

This comment has been minimized.

Contributor

janpio commented Aug 15, 2018

The original issue was another problem - any problem in the build process triggers this error message as it is a general catch for any error.

@janpio janpio reopened this Aug 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment