ResourceManager doesn't recognize satelitte assemblies

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

ResourceManager in an assembly that is referenced in main application doesn't
recognize localized resources (probably because it can't find its own
localized satellite assemblies).

Maybe described problem is an effect of no support for multi-module
assemblies?

I've posted this bug on Product Feedback Center:
http://lab.msdn.microsoft.com/produ...edbackid=9aa41ce1-d6e7-4ebd-8c72-962e1d1e5595
and there is no reply.

I presume that adding all satellite assemblies to GAC will solve that
problem but it isn’t what I expect. Does anybody know another workaround for
this problem?

I'm using Compact Framework 2.0.

Best Regards
Darek
 
Revelation! :)

"References to satellite assemblies are not recorded statically in metadata. Instead, all references to satellite assemblies are made in a late-bound fashion from classes such as System.Resources.ResourceManager."

Visual Studio doesn?t copy satellite assemblies of referenced assembly (e.g. class library, user control library) to device?s destination folder (e.g. pl-PL,de).
I have to copy it manually and ResourceManager can find localized resources.



Best Regards
Darek
 
I've found it!
" References to satellite assemblies are not recorded statically in metadata. Instead, all references to satellite assemblies are made in a late-bound fashion from classes such as System.Resources.ResourceManager."

Visual Studio doesn?t copy satellite assemblies of referenced assembly (e.g. class library,user control library) to device?s destination folder (e.g. pl-PL, de).
I have to copy satellite assemblies manually and ResourceManager can find localized resources.

Best Regards
Darek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top