none
Xamarin installation question

    Question

  • I'm having problems with installing the xamarin update to visual studio community 2015.  Visual studio works fine beforehand, but after xamarin is added I get messages about being unable to load packages.  For example, when trying to quit visual studio the message:

    "Could not load file or assembly 'Microsoft.VisualStudio.ConnectedServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken='' or one of its dependencies.  The system cannot find the file specified."

    pops up.  I've tried repairing and completely reinstalling visual studio, but the xamarin update still won't work.  Is there anything I can do to fix this?

    Friday, April 22, 2016 6:27 PM

Answers

  • Hi gadolinium3,

    >>"Could not load file or assembly 'Microsoft.VisualStudio.ConnectedServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken='' or one of its dependencies.  The system cannot find the file specified."

    Like Shinva's suggestion here:

    https://social.msdn.microsoft.com/Forums/en-US/387fcdf9-5b9d-4ae4-9bdd-1f493fb11f2e/could-not-load-file-or-assembly-microsoftvisualstudioconnectedservices-version2000?forum=visualstudiogeneral

    Cause

    Visual Studio (devenv.exe) cannot locate the Microsoft.VisualStudio.ConnectedServices.dll assembly, which is used by other assemblies such as Microsoft.VisualStudio.ConnectedServices.Framework.dll. This assembly is part of the Visual Studio Connected Services SDK.

    Resolution

    1. Create a Console Application
    2. Refer to the Visual Studio Connected Services SDK Nuget Package https://www.nuget.org/packages/Microsoft.VisualStudio.ConnectedServices/
    3. Copy the Microsoft.VisualStudio.ConnectedServices.dll assembly that gets added to your packages/Microsoft.VisualStudio.ConnectedServices.2.0.0/lib/net45 folder to the folder where devenv.exe is located, usually C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
    4. Kill devenv.exe and start Visual Studio again.

    Check the result in your side.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, April 25, 2016 7:59 AM
    Moderator