diff options
Diffstat (limited to '')
-rw-r--r-- | Prebuild/src/Core/Targets/MonoDevelopTarget.cs | 2 | ||||
-rw-r--r-- | Prebuild/src/Core/Targets/NAntTarget.cs | 5 | ||||
-rwxr-xr-x | bin/Prebuild.exe | bin | 222720 -> 194560 bytes |
3 files changed, 6 insertions, 1 deletions
diff --git a/Prebuild/src/Core/Targets/MonoDevelopTarget.cs b/Prebuild/src/Core/Targets/MonoDevelopTarget.cs index af3341f..5a5dc55 100644 --- a/Prebuild/src/Core/Targets/MonoDevelopTarget.cs +++ b/Prebuild/src/Core/Targets/MonoDevelopTarget.cs | |||
@@ -245,7 +245,7 @@ namespace Prebuild.Core.Targets | |||
245 | ss.WriteLine(" />"); | 245 | ss.WriteLine(" />"); |
246 | 246 | ||
247 | ss.Write(" <Execution"); | 247 | ss.Write(" <Execution"); |
248 | ss.Write(" runwithwarnings=\"True\""); | 248 | ss.Write(" runwithwarnings=\"{0}\"", !conf.Options.WarningsAsErrors); |
249 | ss.Write(" consolepause=\"True\""); | 249 | ss.Write(" consolepause=\"True\""); |
250 | ss.Write(" runtime=\"{0}\"", netRuntime); | 250 | ss.Write(" runtime=\"{0}\"", netRuntime); |
251 | ss.Write(" clr-version=\"Net_2_0\""); | 251 | ss.Write(" clr-version=\"Net_2_0\""); |
diff --git a/Prebuild/src/Core/Targets/NAntTarget.cs b/Prebuild/src/Core/Targets/NAntTarget.cs index 6ee6aef..dfb1ce3 100644 --- a/Prebuild/src/Core/Targets/NAntTarget.cs +++ b/Prebuild/src/Core/Targets/NAntTarget.cs | |||
@@ -284,6 +284,11 @@ namespace Prebuild.Core.Targets | |||
284 | } | 284 | } |
285 | foreach (ConfigurationNode conf in project.Configurations) | 285 | foreach (ConfigurationNode conf in project.Configurations) |
286 | { | 286 | { |
287 | ss.Write(" warnaserror=\"{0}\"", conf.Options.WarningsAsErrors); | ||
288 | break; | ||
289 | } | ||
290 | foreach (ConfigurationNode conf in project.Configurations) | ||
291 | { | ||
287 | ss.Write(" define=\"{0}\"", conf.Options.CompilerDefines); | 292 | ss.Write(" define=\"{0}\"", conf.Options.CompilerDefines); |
288 | break; | 293 | break; |
289 | } | 294 | } |
diff --git a/bin/Prebuild.exe b/bin/Prebuild.exe index 621128f..e7dee96 100755 --- a/bin/Prebuild.exe +++ b/bin/Prebuild.exe | |||
Binary files differ | |||