From c45c27e6bdff9568546e0e18705ce5e27900baa3 Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Mon, 19 Dec 2011 14:24:18 +0000 Subject: [PATCH] Fix C++ project failing to run when solution and project exist in the same folder. --- .../BackendBindings/CppBinding/CppBinding/Project/CppProject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AddIns/BackendBindings/CppBinding/CppBinding/Project/CppProject.cs b/src/AddIns/BackendBindings/CppBinding/CppBinding/Project/CppProject.cs index afc24b3ce5..aa3d398bf1 100644 --- a/src/AddIns/BackendBindings/CppBinding/CppBinding/Project/CppProject.cs +++ b/src/AddIns/BackendBindings/CppBinding/CppBinding/Project/CppProject.cs @@ -68,7 +68,7 @@ namespace ICSharpCode.CppBinding.Project { string outputPath = GetEvaluatedProperty("OutDir") ?? ""; if (!Path.IsPathRooted(outputPath)) - return FileUtility.NormalizePath(Path.Combine(Path.Combine(Path.Combine(Directory, ".."), outputPath), + return FileUtility.NormalizePath(Path.Combine(ParentSolution.Directory, outputPath, AssemblyName + GetExtension(OutputType))); else {