diff -ruN nant-0.92.orig/src/NAnt.Console/App.config nant-0.92/src/NAnt.Console/App.config --- nant-0.92.orig/src/NAnt.Console/App.config 2012-06-09 08:05:53.000000000 -0600 +++ nant-0.92/src/NAnt.Console/App.config 2013-08-04 22:41:24.000000000 -0600 @@ -18,2329 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - true - - - sn - - - lc - - - false - - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - true - - - sn - - - lc - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - - - true - - - true - true - true - true - - - true - true - - - sn - - - lc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - - - true - - - true - true - true - true - - - true - true - - - sn - - - lc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - - - true - - - true - true - true - true - - - true - true - - - sn - - - lc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The .NET Framework 1.1 SDK is not installed. - - - - true - true - true - - - cfresgen - - - sn - - - lc - - - - - - - - - - - - - - - - - - - - - - - - - - - The .NET Framework 2.0 SDK is not installed. - - - - true - true - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - true - - - true - true - - - sn - - - lc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - true - - - true - - - true - true - true - true - - - true - true - - - sn - - - lc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - true - - - true - - - true - true - true - true - - - true - true - - - sn - - - lc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - true - - - true - - - true - true - true - true - - - true - true - - - sn - - - lc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - true - - - true - - - true - true - true - true - - - true - true - - - sn - - - lc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - ${csc.tool} - true - true - true - ${csc.supportsdocgeneration} - true - true - true - true - - - mjs - true - - - ${mbas.tool} - true - - - ${resgen.tool} - true - - - sn - true - - - false - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - gmcs - true - true - true - ${csc.supportsdocgeneration} - true - true - true - true - - - mjs - strict - - - vbnc - true - - - ${resgen.tool} - true - ${resgen.supportsexternalfilereferences} - - - sn - true - - - false - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - gmcs - true - linq - true - true - true - true - true - true - true - - - mjs - strict - - - vbnc - true - - - true - true - - - sn - true - - - false - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - dmcs - true - linq - true - true - true - true - true - true - true - - - mjs - strict - - - vbnc - true - - - true - true - - - sn - true - - - false - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - smcs - true - true - true - true - true - true - true - true - - - true - true - - - sn - - - false - - - - - - - - - - - - - - - - - - - - - - - - - true - - - true - - - sn - - - false - - - true - - - true - - - - @@ -2415,18 +92,18 @@ - + - true + false - ${path::combine(prefix, 'lib/mono/1.0/mcs.exe')} - true + ${path::combine(prefix, 'bin/mcs')} + false true true ${csc.supportsdocgeneration} @@ -2437,25 +114,25 @@ mjs - true + false - ${path::combine(prefix, 'lib/mono/1.0/mbas.exe')} - true + ${path::combine(prefix, 'bin/vbnc')} + false ${resgen.tool} - true + false sn - true + false false - true + false @@ -2502,9 +179,10 @@ - - + + + @@ -2518,7 +196,7 @@ - + @@ -2529,11 +207,11 @@ - true + false gmcs - true + false true true ${csc.supportsdocgeneration} @@ -2544,26 +222,26 @@ mjs - strict + false vbnc - true + false ${resgen.tool} - true + false ${resgen.supportsexternalfilereferences} sn - true + false false - true + false @@ -2616,10 +294,11 @@ + + + - - @@ -2627,15 +306,15 @@ - + - true + false gmcs - true + false linq true true @@ -2647,25 +326,25 @@ mjs - strict + false vbnc - true + false - true + false true sn - true + false false - true + false @@ -2721,11 +400,12 @@ + + + - - @@ -2733,15 +413,15 @@ - + - true + false dmcs - true + false linq true true @@ -2753,25 +433,25 @@ mjs - strict + false vbnc - true + false - true + false true sn - true + false false - true + false @@ -2824,22 +504,23 @@ - - + + + Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/. - + smcs - true + false true true true diff -ruN nant-0.92.orig/src/NAnt.Core/Tasks/ExternalProgramBase.cs nant-0.92/src/NAnt.Core/Tasks/ExternalProgramBase.cs --- nant-0.92.orig/src/NAnt.Core/Tasks/ExternalProgramBase.cs 2012-06-09 08:05:53.000000000 -0600 +++ nant-0.92/src/NAnt.Core/Tasks/ExternalProgramBase.cs 2013-08-04 22:41:24.000000000 -0600 @@ -633,6 +633,8 @@ if (Project.TargetFramework.FrameworkDirectory != null) { string frameworkDir = Project.TargetFramework.FrameworkDirectory.FullName; fullPath = Path.Combine(frameworkDir, ExeName + ".exe"); + if (!File.Exists(fullPath)) + fullPath = Path.Combine(frameworkDir, ExeName); } else { throw new BuildException( string.Format(CultureInfo.InvariantCulture, @@ -644,6 +646,8 @@ if (Project.TargetFramework.SdkDirectory != null) { string sdkDirectory = Project.TargetFramework.SdkDirectory.FullName; fullPath = Path.Combine(sdkDirectory, ExeName + ".exe"); + if (!File.Exists(fullPath)) + fullPath = Path.Combine(sdkDirectory, ExeName); } else { throw new BuildException( string.Format(CultureInfo.InvariantCulture, @@ -656,6 +660,10 @@ if (!File.Exists (fullPath)) { string toolPath = Project.TargetFramework.GetToolPath ( ExeName + ".exe"); + if (toolPath == null) { + toolPath = Project.TargetFramework.GetToolPath ( + ExeName); + } if (toolPath != null) { fullPath = toolPath; }