MSBuild cannot sign a ClickOnce manifest using a temporary key (errors MSB3326 and MSB3321)

后端 未结 4 1765
盖世英雄少女心
盖世英雄少女心 2021-02-06 02:03

I am trying to build a ClickOnce Windows Forms project (.NET 3.5 / Visual Studio 2010) on a Windows Server computer. (In an effort to automate the build process with Hudson

4条回答
  •  情歌与酒
    2021-02-06 02:19

    Copy the PFX file over to the machine you are doing the builds on. Double-click on it, and install it in the certificate manager on the machine. Be sure you are logged into the account used to do the builds.

    Other suggestions/questions: Do you have the right version of .NET installed on the machine? Do you have privileges to write to the certificate store on that machine?

    If you open the Visual Studio project, go to the project properties and try to create a new certificate, does it work? It should create a PFX file and add it to the project. And can you see it in the certificate store (menu Start/certmgr.msc)?

提交回复
热议问题