AdvancedHMI Software
General Category => Support Questions => Topic started by: jideson on November 10, 2015, 07:58:13 AM
-
I recently did a build on an ongoing project and got the following message:
An error occurred while signing: Failed to sign bin\Debug\app.publish\AdvancedHMI.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. If CAPICOM.dll exists, you may not have proper permissions to install CAPICOM. AdvancedHMI
Up until yesterday the project was building fine with each change. I set it aside for a few weeks to work on more pressing projects and when I returned to it the above message was received each time I tried a build or debug. Any ideas? I'm very new to visual studio.
-
Did you by any chance use the Publish function?
-
I have used the publish function in the past, but have never had issues with editing and debugging after a publish. In this circumstance, no I did not attempt a publish, only a debug after adding a momentary push button to one of my pages. I located the SignTool.exe and ensured that the capicom.dll exists in the same directory.
-
If you you publish on a solution, it will create a temporary signing key that will expire after 1 year. You will need to create new test certificate.
- Right click the AdvancedHMI project in Solution Explorer and select Properties
- Select the Signing tab
- Click Create Test Certificate
-
I finally got a chance to try your recommendation with no success. I'm still receiving the same message when I try to do a build. Any other thoughts?
-
Do you have any other DLLs referenced in your Solution?
-
If I'm understanding you correctly (please bear with me, I have almost no experience with this kind of thing), the only four .dll files in my solution are:
AdvancedHMI\obj\Release\TempPE\databaseDataSet.Designer.vb.dll
AdvancedHMI\obj\Release\TempPE\My Project.Resources.Designer.vb.dll
AdvancedHMI\obj\Debug\TempPE\databaseDataSet.Designer.vb.dll
AdvancedHMI\obj\Debug\TempPE\My Project.Resources.Designer.vb.dll
I can see no other .dll files in the solution.