Clickonce: Failed to sign binDebugICE.publish\setup.exe

SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please

copy the latest version of CAPICOM.dll into the directory that contains

SignTool.exe.

 

Workaround

========== 

-Copy the DLL to the correct folder

Which would be From %Program Files%\Common\Microsoft Shared

to the location where Signtool stored. 

For VS2005 

%Program files%\Microsoft Visual studio 8\SDK\v2.0\Bin

For VS2008  

%Programfiles%\Microsoft SDKs\Windows\v6.A\Bin\

 

-We need to Perform registration as well.

registered the Dll to register

Start | Run | regsvr32 “<Path>\CAPICOM.dll

To register We could also Type regsvr32 and drag the DLL to the run window