I think it started when I removed Visual Studio 2013 (I still have Visual Studio 2015). The project in question uses Monodevelop, and I was under impression that it wasn’t supposed to attempt to launch external tools.
Inside monodevelop there’s a “Use msbuild engine” checkbox, and if it is unset, project compiles, BUT once unity regenerates solution files the checkbox is set again.
Looking through *.csproj files, it seems that the “UseMSBuildENgine” isn’t even within the settings, and apparently it is defined somewhere else as a default.
Alright. So… installing MSVS2013 does not fix the issue. installing visual studio 2017 build tools for .NET does not fix the issue. The problem is not really mentioned anywhere on the web, aside from one thread on unity forums where it is unanswered.
The project compiles in 2017.1, however I’ll need to work with older versions too, and if installing 2017.1 breaks older version, it is bad.
So, can someone from unity staff chime in and give some ideas? @superpig , @Buhlaine , or someone else?
Thanks to this information, I’ve figured out what went wrong.
The file in dotnet.12.0 is indeed gone, and it turns out it was silently deleted by my avast antivirus. This isn’t the first time something like this happens, so I think I’ll be installing different antivirus.