Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthewDiamond <matthewdiamond96@gmail.com>2014-06-14 12:51:34 +0400
committerMatthewDiamond <matthewdiamond96@gmail.com>2014-06-14 12:51:34 +0400
commit81f4e44c2fb651ab9168c48fb928fe09ec88d608 (patch)
treed2e493635234b8e193de0ed029be4dc03f0331ca /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools
parent09a244b76c7ffecea83543c94d4f0ef85522d863 (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.cs3
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);