V
Vinay Kant
Hey all,
I had a problem, where i strong named my project and then i got the error:
Cannot emit assembly as referenced assembly is not strong named.
My referenced assembly is created by IKVM tool compiling Java bytecode into
..NET MSIL code. I have got one solution to strong name this dll:
1. Create Messages.il using ildasm Messaged.dll /out:Messages.il
2. Use the same key pair (used to strong name the project) to create back
the Messages.dll: ilasm Messages.il /dll key="D:\sn.key"
This worked for me, is there any better solution out there that i have
missed out.
Also, the relative path isn't working for me.
I am using this: <Assembly: AssemblyKeyFile("D:\sn.key")> instead of
<Assembly: AssemblyKeyFile("..\\..\\sn.key")>
Thanks for any help
Vinay Kant
I had a problem, where i strong named my project and then i got the error:
Cannot emit assembly as referenced assembly is not strong named.
My referenced assembly is created by IKVM tool compiling Java bytecode into
..NET MSIL code. I have got one solution to strong name this dll:
1. Create Messages.il using ildasm Messaged.dll /out:Messages.il
2. Use the same key pair (used to strong name the project) to create back
the Messages.dll: ilasm Messages.il /dll key="D:\sn.key"
This worked for me, is there any better solution out there that i have
missed out.
Also, the relative path isn't working for me.
I am using this: <Assembly: AssemblyKeyFile("D:\sn.key")> instead of
<Assembly: AssemblyKeyFile("..\\..\\sn.key")>
Thanks for any help
Vinay Kant