When attempting to sign code a prompt to insert a smart card is presented. The prompt can be ignored by clicking the Cancel button and that will allow the code to be signed successfully. This behavior can be a nuisance especially when trying to achieve automated batch signing.
To bypass the prompt for smart card, update the signtool command to force which publisher certificate to use. This can be achieved by using the /SHA1 prefix.
To find your thumbprint, view the certificate, click on the details tab and scroll down to the thumbprint field.
For more information on how to sign with your Extended Validation (EV) Code Signing certificate, click here.