'Interop.SHDocVw' does not have a strong name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use web browser control(shdocvw.dll) in my winform application. When I put
a strong name into the project and change the assembly, I got following error
message.
"Assembly generation failed -- Referenced assembly 'Interop.SHDocVw' does
not have a strong name" and
"Assembly generation failed -- Referenced assembly 'AxInterop.SHDocVw' does
not have a strong name"

I need to compile the application with proper version and strong name. Is
there any way to work around this?

Thanks in advance!

Zheng
 
I need to compile the application with proper version and strong name. Is
there any way to work around this?

Yes, give the interop assemblies a strong name too (for example using
AxImp.exe /keyfile).



Mattias
 
dependency

the problem with this is that even if you get both dll's signed AxIterop.SHDocVw.dll has a reference to Interop.SHDocVw.dll with no public key, so if you are really using the dll it would not help

Mattias Sjögren said:
>I need to compile the application with proper version and strong name. Is
>there any way to work around this?


Yes, give the interop assemblies a strong name too (for example using
AxImp.exe /keyfile).



Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
 
Back
Top