As of .NET 2.0, you can also apply a strong name in a project through
the project properties. It was deemed a security issue to bake into the
metadata the location of the key file (even though that location is relative
to the machine it was built on, it was not a good idea).
So if you have the original project, you have to make sure that on the
"signing" tab, you don't have the option "Sign the assembly" checked.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:B2**********************************@microsof t.com...
If you have the source code, all you need to do is remove the
AssemblyKeyFile
attribute from the assemblyinfo.cs file (that's where it is usually, but
not
always, placed) - and recompile.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"Jo" wrote:
>Hi all,
I have a strong name assembly (a dll written in C#) which has Register
for
COM interop set to true.
I want to remove the strong name attribute from the assembly, how to do
that?
TIA,
Jo