KinnSoft 发表于 2015-11-13 12:32:00

发布时候提示无法创建默认证书

您好!我今天发布的时候它提示无发创建默认证书,“Default certificate could not be created. ”这是什么问题呢?

frank.zhang 发表于 2015-11-13 13:43:00

您好,

这个问题是VS在发布的时候的一个通用问题,我帮您才百度上搜索了下,
您可以参考下
http://stackoverflow.com/questions/29896769/c-sharp-2013-default-certificate-could-not-be-created-publish-aborting

Go to Project-> Properties
Go to the tab named "Signing"
Check the Checkbox labeled 'Sign the ClickOnce manifests'. This enables the section where you can point to a certificate.
Click on the button labeled 'Select From File...". In the directory listing, choose a key file (.pfx) and Open.
From the step 3, click the button labeled "More Details...". This will display the certificate you've just selected.
Click "Install Certificate" and follow the prompts.
Save and Publish your Solution.

KinnSoft 发表于 2015-11-13 14:26:00

回复 2楼frank.zhang的帖子

谢谢

frank.zhang 发表于 2015-11-13 16:12:00

不客气,

今天跟您打电话,没有联系到您。不知道您啥时候方便呢?我们这边有个小的活动,想邀请您参加,主要是回馈老客户。

KinnSoft 发表于 2015-11-13 16:22:00

您好,不好意思刚才没听到。这边又遇到了问题,我点发布的时候,遇到了如图那边的错误。看了下应该是路径那边太长,但是这个好像是点发布时候自动生成的路径,我要怎么改呢?

frank.zhang 发表于 2015-11-13 17:34:00

您好,

您可以给这个工程改一个短一点的名字,最好在VS进行重命名以确保引用的一致。

frank.zhang 发表于 2015-11-30 18:14:00

为了给你提供更优质的服务,请对本次服务进行评分。我们会认真对待你提出的宝贵意见,谢谢
http://gcdn.gcpowertools.com.cn/attachment.aspx?attachmentid=10062
页: [1]
查看完整版本: 发布时候提示无法创建默认证书