diff --git a/VL.Core/src/Types/Path.cs b/VL.Core/src/Types/Path.cs index 97b42d1c..fda0f909 100644 --- a/VL.Core/src/Types/Path.cs +++ b/VL.Core/src/Types/Path.cs @@ -491,9 +491,7 @@ public Path MakeRelative(Path basePath) if (this == basePath) return new Path(""); - var baseRoot = basePath.Root[0]; - var thisRoot = Root[0]; - if (char.IsLetter(baseRoot) && char.IsLetter(thisRoot) && baseRoot != thisRoot) + if (NetPath.GetPathRoot(this) != NetPath.GetPathRoot(basePath)) return this; var fromPath = (string)basePath;