Hi,
according to the CommonRules I have created my own class MyCommonRules to extend the available common validation rules. Now I want to use culture dependend strings for the broken rule messages as is implemented in the CSLA. Is it possible to assign another set of string resources to the assembly containing the business objects? Can multiple String resources be used for each assembly (what about the UI assembly?) How is this to perform in .Net 2.0?
Thanks for any help or hint!
Best regards, Harald
If you look at your project's properties (where you set assembly info, compiler info, sign the assembly, etc.) you'll find a resources tab. Resources you add here become part of your assembly, and you can localize them like I did with Csla.dll.
These resources automatically become available to your code, in your assembly, just like the resources in Csla.dll are available to the code in the Csla project.
Copyright (c) Marimer LLC