Ian, > looks ok - but why not get AssemblyName dynamically using : > Assembly.GetCallingAssembly() ? > > then you only need to define the RM class once in NAnt.Core. >
It depends if you plan to create separate resource files for the different NAnt assemblies. Furthermore, it depends also if you want to embed the default resources (en-US) in the NAnt assemblies themselves and then produce satelite assemblies (resource-only) for additional translations only. The "AssemblyName" field contains the root name of the resources (e.g. "MyResource.en-US.resources" -> "MyResource"), which is required by the ResourceManager constructor; I think we should rename it to "BaseName". j3d. ---------------------------------- DISCLAIMER ---------------------------------- This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system.Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. Banca del Gottardo (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Under no circumstances this message can be considered as a written acceptance or confirmation of an instruction/order given to Banca del Gottardo. Instructions and orders cannot be accepted or confirmed via e-mail. Banca del Gottardo (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. --------------------------------------------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers