- Home /
How to solve error Exception: Failed to locate suitable MSBuild.
I've been working whit a previous versión of Unity. After installed new versión 5.2 I cant run the application over Windows 8.1
First i got an error related to install SDK 8.1. Now I have this error "Failed to locate suitable MSBuild."
I'm compiling with Platform: Windows store, SDK: 8.1
I have MSBuild installed in C:\Program Files (x86)\MSBuild\14.0\
I searched a lot but I cant find any answers
Regards, Ariel
Answer by SilverSharp · May 09, 2019 at 03:32 AM
I had this issue as well. Make sure to use Visual Studio 2017 and Unity 2018.3.x,
This should solve this. Also, remember, in Visual Studio Installer, to install;
Desktop development with C++
Universal Windows Platform development
Answer by MrDude · Aug 03, 2019 at 01:15 AM
I am using VS2019, Unity 2018.2 and getting the error Exception: Failed to locate suitable MSBuild 'C:\Program Files (x86)\MSBuild\16.2\Bin\MSBuild.exe'
.
Notice how it is trying to use 16.2 but in my MSBuild folder I have only 15.0
.
Let's recap: VS2019 not 2017... my MSBuild is 15, not 16 Unity 2018.2 is trying to use MSBuild that is later than what I have... did Imention I also have 2018.3 and 2019.1 and 2019.3 installed and I STILL only have MSBuild 15?
.
So what exactly is it that installs MSBuild if not VS or Unity? And why is unity arbitrarily deciding what version it wants me to have without actually installing it so I can have it or checking what I have and using that?
.
More importantly, how do I build my app now since I cannot upgrade the project past Unity2018.2 even though I HAVE other Unity installs on my system? Are you saying I have to install VS 2017 in addition to 2019 just so Unity will try to use a newer MSBuild after I installed an outdated VS? :(
.
Is there no place where I can TELL unity to use what I have?
Your answer
Follow this Question
Related Questions
Unity3d Controls Not Working Win8 0 Answers
Strange Issues with Win 8/8.1 & Unity 0 Answers
Get Heart Rate from BLE Device on Windows 8? 1 Answer
XDocument in windows store apps usage. 2 Answers
Unity crashes while loading small assets 0 Answers