lib/rake/funnel/support/msbuild/build_tool.rb in rake-funnel-0.11.0.pre vs lib/rake/funnel/support/msbuild/build_tool.rb in rake-funnel-0.12.0.pre
- old
+ new
@@ -7,10 +7,10 @@
def find
return 'xbuild' unless Rake::Win32.windows?
require 'win32/registry'
- %w(12.0 4.0 3.5 2.0).collect { |version|
+ %w(14.0 12.0 4.0 3.5 2.0).collect { |version|
key = "SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\#{version}"
begin
::Win32::Registry::HKEY_LOCAL_MACHINE.open(key) do |reg|
candidate = File.join(reg['MSBuildToolsPath'] || '', 'msbuild.exe')