diff options
author | MatthewDiamond <matthewdiamond96@gmail.com> | 2014-06-14 12:51:34 +0400 |
---|---|---|
committer | MatthewDiamond <matthewdiamond96@gmail.com> | 2014-06-14 12:51:34 +0400 |
commit | 81f4e44c2fb651ab9168c48fb928fe09ec88d608 (patch) | |
tree | d2e493635234b8e193de0ed029be4dc03f0331ca /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools | |
parent | 09a244b76c7ffecea83543c94d4f0ef85522d863 (diff) |
[Ide] Fix for ResxGenerator parent directory issue
There was a mistake in my last bug fix causing it to look in the parent directory of the intended directory for its files.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/ResXFileCodeGenerator.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/ResXFileCodeGenerator.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/ResXFileCodeGenerator.cs index d38aba3a2d..b54085a249 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/ResXFileCodeGenerator.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/ResXFileCodeGenerator.cs @@ -5,6 +5,7 @@ // Kenneth Skovhede <kenneth@hexad.dk> // Michael Hutchinson <m.j.hutchinson@gmail.com> // Bernhard Johannessen <bernhard@voytsje.com> +// Matthew Diamond <matthewdiamond96@gmail.com> // // Copyright (C) 2013 Kenneth Skovhede // Copyright (C) 2013 Xamarin Inc. @@ -78,7 +79,7 @@ namespace MonoDevelop.Ide.CustomTools using (var r = new ResXResourceReader (file.FilePath)) { r.UseResXDataNodes = true; - r.BasePath = Path.GetDirectoryName (file.FilePath.ParentDirectory); + r.BasePath = file.FilePath.ParentDirectory; foreach (DictionaryEntry e in r) { rd.Add (e.Key, e.Value); |