HighTechTalks DotNet Forums  

strong named assembly doesn't find satellite assemblies

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss strong named assembly doesn't find satellite assemblies in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
RainerI
 
Posts: n/a

Default strong named assembly doesn't find satellite assemblies - 02-22-2005 , 10:37 AM






Hello everybody

i have an assembly which uses satellite assemblies. The ResourceManager
finds the resources and everything works fine. But when i make this assembly
strong named by placing [assembly: AssemblyKeyFile(<path-to-Keyfile>)] in
AsseblyInfo.cs and recompile my solution the ResourceManager doesn't find any
satellite assemblies. When i remove the strong name everything works fine
again.

What i have already tried:
- placing the assembly in the GAC
- making all satellite assemblies strong named
- placing the satellite assemblies in the GAC, too
- verified that the satellite assemblies have the save version number as my
assemblie

Nothing worked. Has anybody an idea what else i could try?
Thanks.

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: strong named assembly doesn't find satellite assemblies - 02-24-2005 , 02:28 PM






Hi Rainer, Did you sign your satellite assemblies with the same
public-private key pair? If the main assembly is signed, the satellite
assemblies must be signed with the same public-private key pair. If you
have already tried that, then you may be able to find loading errors by
checking the log in fuslogvw. Check Suzanne Cook's blog entry for more
information on how to debug loading failures.
http://blogs.msdn.com/suzcook/archiv.../29/57120.aspx
Your version numbers should also be the same, however, you can update your
main assembly without updating your satellite assembly by setting the
satellitecontractversionattribute - see more info here:
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemresourcessatellitecontractversionattrib uteclasstopic.asp
Hope this helps,
Marin Millar [MSFT]


Reply With Quote
  #3  
Old   
RainerI
 
Posts: n/a

Default RE: strong named assembly doesn't find satellite assemblies - 02-25-2005 , 08:05 AM



Hi Marin. Signing the satellite assemblies and the main assembly with the
same private-public key pair and giving all assemblies the same version
number solved the problem.

Thanks a lot for your help.
Rainer Ilg

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.