Browse Source

Fix C++ project failing to run when solution and project exist in the same folder.

pull/22/head
Matt Ward 14 years ago
parent
commit
c45c27e6bd
  1. 2
      src/AddIns/BackendBindings/CppBinding/CppBinding/Project/CppProject.cs

2
src/AddIns/BackendBindings/CppBinding/CppBinding/Project/CppProject.cs

@ -68,7 +68,7 @@ namespace ICSharpCode.CppBinding.Project
{ {
string outputPath = GetEvaluatedProperty("OutDir") ?? ""; string outputPath = GetEvaluatedProperty("OutDir") ?? "";
if (!Path.IsPathRooted(outputPath)) 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))); AssemblyName + GetExtension(OutputType)));
else else
{ {

Loading…
Cancel
Save