|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Strong naming Shdocvw, (cannot locate CSP)I have added a MS WebBrowser control to my winform. This adds references to Shdocvw.dll and Axshdocvw.dll . However I am using strong named assemblies in my application and hence these also need to signed with my public key. I used tlbimp and aximp tools to do this but in both cases I get this error: AxImp Error: Unable to locate input ActiveX library: 'U:\SHDocVw.dll' and TlbImp error: System.Runtime.InteropServices.COMException - StrongName APIs coul d not locate a matching CSP. How do i tackle this problem? Appreciate your responses. Vinit Hi Vinit
Could you please post the command lines that you are attempting to run? Then we'll be able to point you in the right direction. Cheers, Lev. Vinit wrote: Show quote > I used tlbimp and aximp tools to do this but in both cases I get this > error: > AxImp Error: Unable to locate input ActiveX library: 'U:\SHDocVw.dll' > and > TlbImp error: System.Runtime.InteropServices.COMException - StrongName > APIs coul > d not locate a matching CSP. here they are
tlbimp C:\Perforce\ASIA\AsiaJobManager3.x\Src\AJM\ATMP4Sync\bin\Debug\SHDocVw.dll /out:c:\AxInterop.SHDocVw.Strong.dll /publickey:C:\Perforce\ASIA\AsiaJobManager3.x\Src\AJM\key.snk Aximp C:\Perforce\ASIA\AsiaJobManager3.x\Src\AJM\ATMP4Sync\bin\Debug\SHDocVw.dll /out:c:\AxInterop.SHDocVw.Strong.dll /publickey:C:\Perforce\ASIA\AsiaJobManager3.x\Src\AJM\key.snk Lev Gimelfarb wrote: Show quote > Hi Vinit > > Could you please post the command lines that you are attempting to run? > Then we'll be able to point you in the right direction. > > Cheers, > Lev. > > > Vinit wrote: > > I used tlbimp and aximp tools to do this but in both cases I get this > > error: > > AxImp Error: Unable to locate input ActiveX library: 'U:\SHDocVw.dll' > > and > > TlbImp error: System.Runtime.InteropServices.COMException - StrongName > > APIs coul > > d not locate a matching CSP. |
|||||||||||||||||||||||