Closed jozefizso closed 4 years ago
The ResourceUtils class in OfficeApi project has method ReadImage() which should implement image reading from assembly, but it incorrectly calls itself.
ResourceUtils
ReadImage()
https://github.com/NetOfficeFw/NetOffice/blob/3b56a7420dab2d1a18d4b60ae8e12e728423cf1b/Source/Office/Tools/Contribution/ResourceUtils.cs#L128-L131
The ResourceUtils.ReadString() does not use the provided assembly parameter to resolve the resource.
ResourceUtils.ReadString()
assembly
https://github.com/NetOfficeFw/NetOffice/blob/3b56a7420dab2d1a18d4b60ae8e12e728423cf1b/Source/Office/Tools/Contribution/ResourceUtils.cs#L98-L109
The
ResourceUtils
class in OfficeApi project has methodReadImage()
which should implement image reading from assembly, but it incorrectly calls itself.https://github.com/NetOfficeFw/NetOffice/blob/3b56a7420dab2d1a18d4b60ae8e12e728423cf1b/Source/Office/Tools/Contribution/ResourceUtils.cs#L128-L131