2

I am using a Mac with Parallels Desktop installed to build my Xamarin.IOs app in Visual Studio for Windows 2017 (Professional). I have two windows accounts in the Windows that runs in Parallels Desktop.

I used Visual Studio in one windows account and successfully connected to the Mac Build agent. But when I switched back to the other windows account and used the same Visual Studio application, I get an error when connecting to the Mac Build agent saying,

Private key is encrypted but passphrase is empty...

How can I fix this?

1 Answer 1

12

It seems like this is a bug in Visual Studio 2017.

I had to delete the,

  • id_rsa
  • id_rsa.pub
  • passphrase.key

files found in my Windows account at %LOCALAPPDATA%\Xamarin\MonoTouch and reconnect to the Mac Build Agent.

Then it started working fine 😊

NOTE: I found this solution from here

1
  • 3
    Yes this works, happened today with VS 2019 v16.0.2
    – Jamin
    Jun 20, 2019 at 19:12

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.