diff --git a/src/DynamoCore/Extensions/ExtensionLoader.cs b/src/DynamoCore/Extensions/ExtensionLoader.cs index ec3381e4575..b641702e22a 100644 --- a/src/DynamoCore/Extensions/ExtensionLoader.cs +++ b/src/DynamoCore/Extensions/ExtensionLoader.cs @@ -75,7 +75,8 @@ public IExtension Load(string extensionPath) if (item.Name == "AssemblyPath") { // Usually the extension configs are written on a Windows system, so we only need to make them compatible with linux - path = Path.Combine(path, item.InnerText.Replace('\\', Path.DirectorySeparatorChar)); + string assemblyRelativePath = OSHelper.IsWindows() ? item.InnerText : item.InnerText.Replace('\\', Path.DirectorySeparatorChar); + path = Path.Combine(path, assemblyRelativePath); definition.AssemblyPath = path; } else if (item.Name == "TypeName")