convert a weakly named assembly to a strongly named

G

Guest

Hi,
I have one weakly named(i.e. not strong named) assembly/xyz.dll. And other
strong named assemblies/.dll. I have found that I can't use weakly named
assembly with strong named assembly.

How can I convert weekly named assembly to strong named assembly. Or other
possible way.

One more question: If I create assembly for C# with strong name. Can some
one else, who is not using strong name, will be able to use it in his C#
application without specifiying my strong name key.

Thank you.
 
M

Mattias Sjögren

How can I convert weekly named assembly to strong named assembly. Or other
possible way.

If it's an assembly you've created yourself (i.e. you have the source
code) you can simply recompile it with the AssemblyKeyFile/Name
attribute present.

One more question: If I create assembly for C# with strong name. Can some
one else, who is not using strong name, will be able to use it in his C#
application without specifiying my strong name key.

Yes



Mattias
 
G

Guest

If it's an assembly you've created yourself (i.e. you have the source
code) you can simply recompile it with the AssemblyKeyFile/Name
attribute present.
No, I don't have the source code. I have only .dll file. Any idea, How can I
convert to weakly named xyz.dll to strong named xyz.dll.

Thank you for your time.
 
M

Mattias Sjögren

No, I don't have the source code. I have only .dll file.

Have you tried contacting the vendor and ask if they can provide a
strongly named assembly?



Mattias
 

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