More Group Sites
School Rankings
Jobless Net
Better Home
Enviro++


Help | Subscribe/Unsubscribe | Rules | Other Group Sites: Better Education | Better Education Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

error MSB4044: The "SignFile" task was not given a value for the required parameter "CertificateThumbprint" Options · View
hong
Posted: Monday, September 20, 2010 9:14:57 PM

Rank: Administration
Groups: Administration

Joined: 11/23/2008
Posts: 335
Points: 711
Location: Australia
The following error means that signing certificate of a manifest cannot be found in the certificate store.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3321,9): error MSB4044: The "SignFile" task was not given a value for the required parameter "CertificateThumbprint".

I found this workaround by generating my own key:
- Open the project file (for example, .csproj) in your preferred editor, delete the line containing tag "ManifestCertificateThumbprint".
- In Visual Studio, run Publish again, a new key will be generated. When prompted whether to overwrite the existing pfx key file, select "Yes".

You cannot publish a ClickOnce application without signing it. This is to ensure that viruses cannot be propagated to client machines via “ClickOnce” deployment . By doing so, only the original publisher can publish updates to the application.

When you deploy a .Net application using ClickOnce, Visual Studio creates a TemporaryKey.pfx file to sign the deployment. That .pfx file is the key used for signing your manifests. The temporary key isn’t verified by anyone. Also it expires in a year. If you publish your application to public or internet, you need to consider buying a code signing certificate.

When the temporary key expires, your application will cease function. You will have to generate new key, redeploy the application, and reinstall it on all machines. To avoid this, try to extend Visual Studio’s Default 1 Year .pfx File before publishing. See more details here.
Sponsor
Posted: Monday, September 20, 2010 9:14:57 PM
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

ASPNET Theme created by Boskone (Dan Ferguson)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.324 seconds.