Request : cslalight resource files

Request : cslalight resource files

Old forum URL: forums.lhotka.net/forums/t/8384.aspx


edore posted on Wednesday, January 20, 2010

First I feel I must thank Rocky for his substantial contribution to my everyday developer life! We use Csla and Cslalight for about 8-9 months now and we're really satisfied with the results. Two thumbs up!

About my request... cslalight doesn't have all the resource files linked so if we want to have localized validation messages in our SL app, we need to link them and build every time there's a new version. Otherwise, we end up having localized message on server-side and english messages on client-side...

Thanks in advance!

RockfordLhotka replied on Friday, January 29, 2010

That is a good point.

I didn't link them because it doesn't appear that you can link resource files - they don't build correctly.

But it is probably worth copying them, because it would be better to get the localization, even if there's an increased maintenance burden.

edore replied on Wednesday, April 07, 2010

Hi!

Lost track of this post and forgot to answer back...  Sorry!

You can link the resource file but wou must change the resx file properties in the SL project.  It doesn't keep the "Embedded resource" build action, but rather changes for Compile.

Hope this helps!

RockfordLhotka replied on Wednesday, April 07, 2010

That's a good bit of information, thank you!

Copyright (c) Marimer LLC