# # C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe vc9/mci.sln /toolsversion:3.5 /property:Configuration=Release /property:Platform=Win32 /l:FileLogger,Microsoft.Build.Engine;logfile=.\log\mci.sln-Release-Build.log # C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe # module Dev class MsBuild def self.extract_platforms(filename) results = Array::new text=File.read(filename) text.scan(/(\w+)<\/Platform/).each{ | var_match | results << var_match[0].to_s if !results.include?(var_match[0].to_s)} results end end # class MsBuild end # moduleDev