81760

.Net solution trying to build using Inedo BuildMaster

Question:

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.

Recommend

  • Creating an HTML anchor to run a C# function programatically
  • Chef: Force use of modified attributes in template
  • mpi4py scatter and gather with large numpy arrays
  • Replacing NULL value in current row based on 'closest' matching 'earlier' row. (
  • How to prevent certain internal routes from being accessed by the user?
  • NULL values in object properties in Entity Framework
  • Select an attribute with Xpath in a XML with namespace using Powershell
  • FSC: Error FS2024: Static linking may not use assembly that targets different profile
  • how to edit project settings in xcode 4.2?
  • LibGit2Sharp log remote
  • AWS EC2 t2.micro instance very unstable
  • Skip a project while building a solution using msbuild 3.5
  • cURL for Windows can't make a secure connection to the Stack API
  • SSLRead() return error -9806/15958)
  • sudo easy_install for SimpleITK not that easy
  • GeoTrust SSL certificate on Android not trusted
  • jquery validation - waiting for remote check to complete
  • powershell Get-Counter -ComputerName parameter on Windows 7
  • Xamarin MonoAndroid Azure mobile service InsertAsync
  • Private IP address in reserved subnet range
  • How To Customize ASP.NET Chart Databound To SqlDataSource
  • How do I display a dialog that asks the user multi-choice questıon using tkInter?
  • Laravel: Getting Session ID oddly truncates when using foreach
  • Bypass multiple inheritance in Java
  • MongoError: Incorrect arguments
  • Django rest serializer Breaks when data exists
  • Recording logins for password protected directories
  • how to do an event when i swipe from fragment to the other
  • Sony Xperia Z Tablet not found by adb
  • Javascript convert timezone issue
  • Why is the timeout on a windows udp receive socket always 500ms longer than set by SO_RCVTIMEO?
  • Proper folder structure for lots of source files
  • Hits per day in Google Big Query
  • How do you join a server to an Active Directory (domain)?
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • Linking SubReports Without LinkChild/LinkMaster
  • Authorize attributes not working in MVC 4
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • UserPrincipal.Current returns apppool on IIS
  • Net Present Value in Excel for Grouped Recurring CF