Add classname to the initialization of ResourceLoader

Nov 18, 2012 at 11:09 AM

Hi,

I've got the problem, that the Resourceloader can only find the Resources if I add the Classname to the ResourceLoader initialization:

      private static ResourceLoader resourceLoader = new ResourceLoader("Classname");

Can you please add that feature?


Best regards,

Philipp

PS: Very usefull Code Generator :-)

Coordinator
Nov 19, 2012 at 10:44 AM

Hi Philipp,

Thanks for the feature request. I'll try to implement it tonight :)

 

Best regards,

Christian

Coordinator
Nov 19, 2012 at 8:13 PM

Done and published a release :)

Check out Build 1.0.2

May 27, 2013 at 7:57 AM
Just found a bug in the 1.0.3 version (1.0.2 worked fine in my project). The thing is I got pretty uncommon project layout - I got main app that has resw + generated codebehind and this generated file is added as a linked file to another project, that is referenced from my main project.
This worked in previous version because the resw file was successfully found in the main project, but now the ResourceLoader initialization thinks the resw is located in the second project.
This should be easily solved by adding setting to override the ResourceLoader path parameter, something like CustomToolResourceLoderPath, rather than guessing it from the executing and current assembly.