diff --git a/VectoCore/VectoCore/Utils/PathHelper.cs b/VectoCore/VectoCore/Utils/PathHelper.cs index 70e319eea3bd57461f46c872227bea6f2c2f71ba..48cbe7e9048af91a56b19549f6452666aa51b3ba 100644 --- a/VectoCore/VectoCore/Utils/PathHelper.cs +++ b/VectoCore/VectoCore/Utils/PathHelper.cs @@ -38,8 +38,9 @@ namespace TUGraz.VectoCore.Utils public static string GetAbsolutePath(string relativeTo, string relativePath) { - var uri = new Uri(baseUri: new Uri(relativeTo), relativeUri: relativePath); - return Path.GetFullPath(uri.AbsolutePath); + return Path.GetFullPath(Path.Combine(Path.GetDirectoryName(relativeTo), relativePath)); + //var uri = new Uri(baseUri: new Uri(relativeTo), relativeUri: relativePath); + //return Path.GetFullPath(uri.AbsolutePath); } private static string GetRelativePath(IEnumerable<string> relativeTo, IEnumerable<string> path)