Add satellite assemblies to a signed assembly???

S

svestin

Hi all!

Is it possible to add a satellite assembly containing resources with
localized strings to an existing assembly that has been signed with a
unknown private key?

My problem:
I have a third party product with Windows Forms controls that uses
resource files. There are however no resource file for Swedish
included.

So would it be possible to create a resource file with the Swedish
translation, compile it to a satellite assembly and have the third
party assembly (that is signed with an unknown private key) use my new
resource file?

(Note: I'm not interested in sending my translations to the third party
manufacturer and ask him to sign my satellite assembly)

Maybe it is impossible for security reasons???
Or could there be some nice solution to this problem?


Question 2:
Lets say that I'm about to create a WindowsForm gui controller that I
would like to distribute in a signed assembly. Then I would like the
users to be able to create their own recourse-files (with their own
translations).
What must I do to accomplish this?

Regards
/Stefan
 
A

Andrew Smith \(Infragistics\)

If an assembly is signed, the satellite assembly must also be signed with
the same key file. The assembly location logic is only going to look for an
assembly with the same information as the requesting assembly including the
public key token. If you're going to create a signed assembly, anyone who is
going to create a satellite assembly for it would have to sign their
assembly with your key file.
 
S

svestin

OK!

Thanx for the info :)

That would make it kind of tricky for third party vendors to let their
customers create their own satellite assemblies, unless they are
willing to make their key-file public.

Regards
/Stefan Vestin
 

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

Top