尝试使用Inedo BuildMaster进行构建的.Net解决方案 [英] .Net solution trying to build using Inedo BuildMaster

查看:176
本文介绍了尝试使用Inedo BuildMaster进行构建的.Net解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在BuildMaster中执行我的工作流时,会引发以下错误.似乎存在PFX证书问题.当我在Visual Studio中运行相同的解决方案时,它工作正常,没有任何问题.它是现有应用程序,带有PFX证书和受密码保护.

When i try to execute my workfolw in BuildMaster, it's throwing me the following errors. It seems like there is a PFX certificate issue. When i run the same solution in Visual Studio, It's working fine without any issues. It is an existing application, built with PFX Certificate and password protected.

您能帮我解决这个问题吗?

Can you please help me out in fixing that.

错误: C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Microsoft.Common.targets(2482,5): 错误MSB3326:无法导入以下密钥文件:.密钥文件 可能受密码保护.若要更正此问题,请尝试导入 再次证书或将证书手动导入到当前证书中 用户的个人证书存储区.错误: C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Microsoft.Common.targets(2482,5): 错误MSB3321:导入密钥文件"ppmillinous.pfx"被取消. 信息:完成的建筑项目"wa5invqz.tmp_proj"-失败. INFO:完成 建筑项目"POWERPitch.csproj"-失败. INFO:完成建设 项目"POWERPitch.sln"-FAILED.ERROR:构建失败(msbuild 返回1).

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).

推荐答案

我建议您执行以下操作:

I'd suggest doing the following:

1)创建一个受密码保护的pfx文件

1) Create a pfx file that is password protected

2)要么再次导入受密码保护的证书,要么将受密码保护的证书导入当前用户的个人证书存储.

2) Either import the password protected cert again or import the password protected cert to the current user's personal certificate store.

请注意,如果您正在使用的pfx文件已经受到密码保护,则可以跳过第一步.

Note that if the pfx file you're using is already password protected, you can skip the first step.

这篇关于尝试使用Inedo BuildMaster进行构建的.Net解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆