Hi,
I'm trying to run my app from a server. I've given it a strong name using
sn.exe and have put the AssmeblyKeyFile("mypath") attribute into the
AssemblyInfo.vb module. Now I get the error, "Unable to emit assembly:
Referenced assembly 'Interop.Office' does not have a strong name." How can I
fix this problem?
Thanks.
Claus Konrad - 04 Jan 2006 20:02 GMT
You can sign an interop by using the below approach.
<Quote>
The problem is that in order for a strong named assembly to reference
another assembly, the second assembly must be strong named as well. So you
need to force Visual Studio to generate the COM wrappers in a strong named
assembly. You do this by going into your project properties, select
"General" under "Common Properties" on the left hand side of the window.
Then on the right hand side of the window at the bottom you will see
"Wrapper Assembly for ActiveX COM Objects" You will need to specify the
Wrapper Assembly Key File with a key file. This should fix the problem.
Michael Green
Microsoft Developer Support
</Quote>
> Hi,
> I'm trying to run my app from a server. I've given it a strong name using
[quoted text clipped - 4 lines]
>
> Thanks.