I have vs 2015 upgrade 1 installed and I try to install Xamrin from the setup, but when I try to install it, at the end receive this error message:
C#/.Net Xamarin The installer has encountered an unexpected error installing this package. This may indicate a problem with package. The error code is 2711.
how can I solve this?
This combination of Xamarin and Visual Studio 2015 is our most integrated release ever – featuring a Visual Studio 2015 installation process that allows you to choose to install Xamarin with a single click, giving you everything you need to start building native cross-platform apps, all in C#.
Adding Xamarin to Visual Studio 2017 If Visual Studio 2017 is already installed, add Xamarin by re-running the Visual Studio 2017 installer to modify workloads (see Modify Visual Studio for details). Next, follow the steps listed above to install Xamarin.
I had the same error. The error is due to old Xamarin installer files in the cache.
C#/.Net Xamarin The installer has encountered an unexpected error installing this package. This may indicate a problem with package. The error code is 2711.
I did the following steps to fix it:
Note: a folder could be hidden, so enable show hidden items in the windows explorer.
For example:
C:\ProgramData\Microsoft\VisualStudioSecondaryInstaller\14.0\installers\XamarinVS
C:\ProgramData\Microsoft\VisualStudioSecondaryInstaller\14.0\installers\XamarinVSV1
Delete all Xamarin related folders or files from windows temprorary folders TMP and TEMP.
You could find the temprorary folders in the Windows/Control Panel/ System/Advanced/Enviroment variables
I found that solution in comments section here: https://blogs.msdn.microsoft.com/visualstudio/2016/03/31/mobile-app-development-made-easy-with-visual-studio-and-xamarin/#comment-142062
You can try a manual install by downloading and installing the following:
http://download.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_4.0.1.147.msi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With