Any problem in build process triggers "No valid MSBuild was detected for the selected target:" exception #266
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Essentially the MSBuild detection code does not work well with VS 2017. Duping this into #274 |
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. |
For future reference, this is the offending code: cordova-windows/template/cordova/lib/build.js Lines 63 to 85 in c52b81c |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After code restructuring this Exception is triggered a bit too often.
E.g. if just the
build
process in MSBuild fails:This issue refers to a problem in the way the code is structured - returning an exception that is not 100% correct all the times.
The text was updated successfully, but these errors were encountered: