Red Gate forums :: View topic - Localization DLLs
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Localization DLLs

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
DavidDespres



Joined: 25 Aug 2011
Posts: 3
Location: Westford, MA USA

PostPosted: Thu Aug 25, 2011 3:25 pm    Post subject: Localization DLLs Reply with quote

Greetings,

When I deploy my application that has been obfuscated by SA 6.0 it will not load the localized resources at runtime, but keeps the original language it was obfuscated with. The application is a Windows .NET Form that has the localizable property set. If I drop the un-obfuscated .EXE it will load the localized resource file just fine.

What am I missing to get this to work properly?

Thanks for your time an consideration.
_________________
David Despres
Back to top
View user's profile Send private message AIM Address
james.davies



Joined: 19 Apr 2011
Posts: 46

PostPosted: Fri Aug 26, 2011 4:35 pm    Post subject: Reply with quote

Satellite Assemblies should be handled by later versions of Smart Assembly
What version are you using ?
_________________
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
Back to top
View user's profile Send private message
DavidDespres



Joined: 25 Aug 2011
Posts: 3
Location: Westford, MA USA

PostPosted: Fri Aug 26, 2011 8:36 pm    Post subject: Version 6.1 Build 48 Reply with quote

Hi James,

Thanks for the reply and the version I am using is 6.1 Build 48.

Best Regards,
_________________
David Despres
Back to top
View user's profile Send private message AIM Address
james.davies



Joined: 19 Apr 2011
Posts: 46

PostPosted: Mon Aug 29, 2011 11:34 am    Post subject: Reply with quote

After building SA should show that is has detected and updated the satellite assemblies, in conjunction with the main assembly.
Satellite assemblies should not be merged or embedded as that would break them.

It is also possible that the localizable property has been pruned. You could try excluding it from pruning (and obfuscation).
_________________
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
Back to top
View user's profile Send private message
DavidDespres



Joined: 25 Aug 2011
Posts: 3
Location: Westford, MA USA

PostPosted: Thu Dec 15, 2011 9:28 pm    Post subject: Localization DLLs Reply with quote

James,

I tried your suggestions, but to no avail. Again, this is a .NET Form that has a property that says that it is localizable. That is, at runtime it detects the computers language/culture and looks in a subfolder where the executable is and loads the external resource(This is a windows thing and not something special I am doing). I run the un-obfuscated executable it loads the correct resource file. I run the obfuscated executable and it just shows the original language.

Can you suggest my next steps?
_________________
David Despres
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group