The "SignFile" task was not given a value for the required parameter "CertificateThumbprint"
Note: If you are looking for a quick fix and it is okay for your project to not be signed
then you can do this. I encounter this problem when I am looking for a sample code, and using this quick fix solves my problem instantly.
- Go to the project properties
- Select signing options
- Uncheck the `Sign the ClickOnce manifests
- Save
- Re-run it
- (Optional) In some cases you need to rebuild it.
If it doesnt work please try to uncheck the enable ClickOnce security settings
which can be located on Security
tab.
This is how I solved the problem:
Our build services was configured to run as NT AUTHORITY\NetworkService
I simply changed this to my own user account. Note that I already had the *.pfx file installed to personal certificate store.
I guess the problem was that the user NT AUTHORITY\NetworkService
does not have the required certificate in the certificate store. I still have no idea how to add certificates into the personal store of system accounts. Nevertheless my problem is gone for now although I don't like the fact that the build service runs with my credentials.
try to add the certificate in the signing tab of the project properties by selecting "Select from store"
or
try clicking "Create Test Certificate"...