Closed dusk0r closed 7 years ago
Indentation is wrong.
Also, shouldn't you return nil if it's not found?
No, the method returns a hash of all available msbuild versions.
Thank you @dusk0r !
@haf Oh, I just noticed that I forgot to add the 'msbuild.exe' to the path. Should I open a new pull request?
Line 26 should be:
retval[15] = File.join(vs2017_dir, 'MSBuild', '15.0', 'Bin', 'msbuild.exe') unless vs2017_dir.nil?
If you want it in the next version then you should.
Added a new pull request https://github.com/Albacore/albacore/pull/231
Will go into the next release.
MSBuild 15 is now bundled with VS2017. It doesn't use the same path or registry keys as previous versions did.