By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,293 Members | 1,397 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,293 IT Pros & Developers. It's quick & easy.

convert a weakly named assembly to a strongly named

P: n/a
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.

Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 21 '05 #2

P: n/a
>
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.

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.
Jul 21 '05 #3

P: n/a
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

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.