Browse Source

don't load resources if hintPath is null

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1093 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Markus Palme 20 years ago
parent
commit
6446c1a06f
  1. 3
      src/Main/Core/Project/Src/AddInTree/AddIn/AddIn.cs

3
src/Main/Core/Project/Src/AddInTree/AddIn/AddIn.cs

@ -126,6 +126,9 @@ namespace ICSharpCode.Core @@ -126,6 +126,9 @@ namespace ICSharpCode.Core
if (reader.AttributeCount != 1) {
throw new AddInLoadException("BitmapResources requires ONE attribute.");
}
if(hintPath == null) break;
string filename = StringParser.Parse(reader.GetAttribute("file"));
string path = Path.Combine(hintPath, filename);

Loading…
Cancel
Save