From 79ef84426ab76437c30301d1697bbd23d160703d Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Tue, 31 Oct 2017 16:04:09 +0100 Subject: [PATCH] Fix possible bug in DotNetCorePathFinder. --- ICSharpCode.Decompiler/DotNetCore/DotNetCorePathFinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSharpCode.Decompiler/DotNetCore/DotNetCorePathFinder.cs b/ICSharpCode.Decompiler/DotNetCore/DotNetCorePathFinder.cs index 4c399903b..7c09186f1 100644 --- a/ICSharpCode.Decompiler/DotNetCore/DotNetCorePathFinder.cs +++ b/ICSharpCode.Decompiler/DotNetCore/DotNetCorePathFinder.cs @@ -99,7 +99,7 @@ namespace ICSharpCode.Decompiler string FallbackToDotNetSharedDirectory(AssemblyNameReference name, string version) { if (dotnetBasePath == null) return null; - var basePath = Path.Combine(dotnetBasePath, "shared\\Microsoft.NETCore.App", version); + var basePath = Path.Combine(dotnetBasePath, "shared", "Microsoft.NETCore.App", version); if (File.Exists(Path.Combine(basePath, name.Name + ".dll"))) { return Path.Combine(basePath, name.Name + ".dll"); } else if (File.Exists(Path.Combine(basePath, name.Name + ".exe"))) {