471,344 Members | 1,012 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,344 software developers and data experts.

convert a weakly named assembly to a strongly named

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
3 2161
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
>
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
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.

Similar topics

1 post views Thread by Jack Menendez | last post: by
4 posts views Thread by Tamir Khason | last post: by
reply views Thread by Dave Burns | last post: by
reply views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.