Browse Source

Merge pull request #2201 from wwh1004/fix1

fix GetFileNameForResource not in accordance with new directory style
pull/2212/head
Siegfried Pammer 5 years ago committed by GitHub
parent
commit
c75ead8212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs

2
ICSharpCode.Decompiler/CSharp/ProjectDecompiler/WholeProjectDecompiler.cs

@ -362,7 +362,7 @@ namespace ICSharpCode.Decompiler.CSharp.ProjectDecompiler @@ -362,7 +362,7 @@ namespace ICSharpCode.Decompiler.CSharp.ProjectDecompiler
string fileName = CleanUpFileName(fullName);
for (int i = splitName.Length - 1; i > 0; i--)
{
string ns = string.Join(".", splitName, 0, i);
string ns = string.Join("\\", splitName, 0, i);
if (directories.Contains(ns))
{
string name = string.Join(".", splitName, i, splitName.Length - i);

Loading…
Cancel
Save