diff --git a/build.cake b/build.cake index c98384a03d..412f3b087a 100644 --- a/build.cake +++ b/build.cake @@ -144,7 +144,7 @@ var ignoredSubModulesPaths = subModules.Select(m => }).ToList(); var normalizePath = new Func( - path => path.TrimEnd(System.IO.Path.DirectorySeparatorChar, System.IO.Path.AltDirectorySeparatorChar).ToUpperInvariant()); + path => path.Replace(System.IO.Path.DirectorySeparatorChar, System.IO.Path.AltDirectorySeparatorChar).ToUpperInvariant()); // Key: Package Id // Value is Tuple where Item1: Package Version, Item2: The packages.config file path.