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?