martinecker / rudebuild

A non-intrusive bulk/unity C++ build tool for Visual Studio
Other
16 stars 6 forks source link

use msbuild if devenv not available in commandline mode #14

Open Trass3r opened 8 years ago

Trass3r commented 8 years ago

For me RudeBuildConsole checked for a non-existing HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS\EnvironmentDirectory. I found it in the Wow64Node subtree, but my installation may be a bit broken, don't know.

But also if you use the new Build Tools on a CI server there is no devenv available.

Hence it may be a good idea to use msbuild as a fallback.

Trass3r commented 7 years ago

prototype: https://github.com/Trass3r/rudebuild/commit/0d9f5aa46a2ded20b2ad8c10fccfb7065ec26a35