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.<blockquote>
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).</blockquote> Answer1:
I'd suggest doing the following:
1) Create a pfx file that is password protected
2) Either import the password protected cert again or import the password protected cert to the current user's personal certificate store.
Note that if the pfx file you're using is already password protected, you can skip the first step.