title: VSTS Online - Build Solution With ClickOnce Signing PFX Password
body: <p>I have a WPF Solution I am building in VSTS Online.</p>
  
  <p>Below is my basic Build Definition:</p>
  
  <p><a href="https://i.stack.imgur.com/yQpUk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yQpUk.png" alt="enter image description here"></a></p>
  
  <p>In Visual Studio 2017 locally I've assigned a Click Once Certification (PFX). Everything builds and compiles fine locally.</p>
  
  <p><a href="https://i.stack.imgur.com/UkzXD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UkzXD.png" alt="enter image description here"></a></p>
  
  <p>The Build fails with the following error:</p>
  
  <blockquote>
    <p>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.</p>
  </blockquote>
  
  <p>What setting/step do I need to include to ensure the PFX file is seen and the password is set?</p>