From e58cc3d1db25fb2c75e359382c5890a2afe75fa9 Mon Sep 17 00:00:00 2001 From: mterwoord_cp <7cd3fd84a0151ea055c2f79e4d2eef9576fe9afesxUZAwxD> Date: Sun, 4 Jan 2009 10:29:48 +0000 Subject: [PATCH] --- source/Cosmos.Build.Windows/Builder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Cosmos.Build.Windows/Builder.cs b/source/Cosmos.Build.Windows/Builder.cs index 492f29519..afdb7ab5e 100644 --- a/source/Cosmos.Build.Windows/Builder.cs +++ b/source/Cosmos.Build.Windows/Builder.cs @@ -77,9 +77,9 @@ namespace Cosmos.Compiler.Builder { int xPos = xCalculatedPath.LastIndexOf("source"); if (xPos == -1) { - xPos = xCalculatedPath.LastIndexOf("BuildOutput"); + xPos = xCalculatedPath.LastIndexOf("buildoutput"); if(xPos == -1) { - throw new Exception("Unable to find directory named 'source' when using CurrentDirectory."); + throw new Exception("Unable to find directory named 'BuildOutput' or 'Source' when using CurrentDirectory. (CurrentDirectory = '" +Environment.CurrentDirectory + "')"); } } xCalculatedPath = xCalculatedPath.Substring(0, xPos) + @"Build\";