当我尝试在BuildMaster中执行我的workfolw时,它抛出以下错误。似乎有一个PFX证书问题。当我在Visual Studio中运行相同的解决方案时,它工作正常,没有任何问题。这是一个现有的应用程序,使用PFX证书和密码保护。.Net解决方案尝试使用Inedo BuildMaster构建
你能帮我解决这个问题吗?
ERROR: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(2482,5): error MSB3326: Cannot import the following key file: . The key file may be password protected. To correct this, try to import the certificate again or import the certificate manually into the current user's personal certificate store.ERROR: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(2482,5): error MSB3321: Importing key file "ppmillinous.pfx" was canceled. INFO: Done building project "wa5invqz.tmp_proj" -- FAILED. INFO: Done building project "POWERPitch.csproj" -- FAILED. INFO: Done building project "POWERPitch.sln" -- FAILED.ERROR: Build failed (msbuild returned 1).
我试过这种方式..但我仍然得到相同的错误。 – 2014-10-29 14:32:59
在这种情况下,我会建议更新您的问题(A)关于您要做什么的实际细节和(B)关于您所做的事情的实际细节。 – 2014-10-30 19:50:30
答:我正在尝试使用BuildMaster构建代码。首先,我将源代码带入BuildMaster,然后在BuildMaster中构建代码。当我建立它是抛出我的上述错误。 “密钥文件可能受密码保护,要解决此问题,请尝试再次导入证书或手动导入证书到当前用户的个人证书存储区中。”我尝试在BuildMaster的Build code文件夹中安装该证书,但它仍然抛出相同的错误 – 2014-10-31 13:52:54