dev 2.1.125 → 2.1.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/apps/msbuild.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff7cb7f7daf30bb526853567dffc304ef1457878942f5e0139169825d0a9f7fe
|
|
4
|
+
data.tar.gz: 39000f13f27394cb2bc875a1ac9138b2a7698c7e1c9c22cf70f8ecf2faa77668
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b853aa0861af50c8c9f2c68941b520e4d60acd8d9b083f62941fbce7e9d666f85c1800840b025e226d255e1813a37c027246754bc9e82927050a3d1af948f7e
|
|
7
|
+
data.tar.gz: dc52720e4e4e663f6c6797715e7dcb12a1e99707e3c5eff40ff70f2364f9501a9ec1554430c4098c742312ae7e8239b371318b4bb810d4dfe001170b218c2012
|
data/lib/apps/msbuild.rb
CHANGED
|
@@ -61,12 +61,12 @@ class MSBuild < Hash
|
|
|
61
61
|
return :vs15 if has_version? :vs15
|
|
62
62
|
return :vs14
|
|
63
63
|
end
|
|
64
|
-
|
|
64
|
+
sln_text=File.read(sln_filename,:encoding=>'UTF-8')
|
|
65
|
+
return :vs16 if sln_text.include?('Visual Studio Version 16')
|
|
65
66
|
return :vs9 if sln_text.include?('Format Version 10.00')
|
|
66
67
|
return :vs12 if sln_text.include?('12.0.30723.0')
|
|
67
68
|
return :vs12 if sln_text.include?('Visual Studio 2013')
|
|
68
69
|
return :vs12 if sln_text.include?('12.0.31101.0')
|
|
69
|
-
return :vs16 if sln_text.include?('Visual Studio Version 16')
|
|
70
70
|
return :vs16 if has_version? :vs16
|
|
71
71
|
return :vs15 if has_version? :vs15
|
|
72
72
|
return :vs14
|
|
@@ -102,6 +102,7 @@ class MSBuild < Hash
|
|
|
102
102
|
def self.get_build_commands sln_filename
|
|
103
103
|
build_commands=nil
|
|
104
104
|
vs_version=MSBuild.get_vs_version(sln_filename)
|
|
105
|
+
puts "vs version for '#{sln_filename}' : #{vs_version}"
|
|
105
106
|
if(MSBuild.has_version?(vs_version))
|
|
106
107
|
MSBuild.get_configurations(sln_filename).each{ |configuration|
|
|
107
108
|
MSBuild.get_platforms(sln_filename).each{|platform|
|