none
Loading a Xamarin solution renders VS unresponsive at about 75% RRS feed

  • Question

  • I have a solution dependent on Xamarin that consitently freezes Visual Studio while being loaded: The code appears, but the GUI locks at a certain point and it becomes impossible to switch to the window, even though the system doesn't mark the window as "not responding".

    I believe this was caused by interrupting another app working with the same project.

    What didn't solve the issue

    • (Successfully) manually cleaning the solution:  "/c/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe" -t:Clean
    • (Successfully) repairing Visual Studio
    • Shutting down and (re)starting the PC
    • (Re)moving  ~/AppData/Local/Microsoft/VisualStudio/14.0
    • Cloning manually into the directory with the same name as before
    • At first it seemed to have solved the problem, but even after cloning into a new directory using VS's Open From Source Control... the problem occurred again

    NOTE: The first command was executed in the dir containing .sln, 14.0 will be your version, and if bash syntax confuses you, "/" means "\", "/c" means "C:", "-" means "/", "~" means "C:/Users/User".

    PossiblyNot related

    I got the following warnings beforehand:

    • The 'XamarinShellPackage' package did not load correctly (imgur 4eodLsb)
    • The 'XamarinAndroidPackage' package did not load correctly (imgur DlsIJ)
    • The 'XamarinIOSPackage' package did not load correctly

    I've resolved this separate issue by downloading and installing Xamarin for Visual studio via the installer at https://dl.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_4.7.10.22.msi (in the future you'll have to search for this because I don't know how to find out the current build number (22 above). The version you can find at https://store.xamarin.com/account/my/subscription/downloads -> View all versions -> Xamarin.iOS or Xamarin.Android -> Windows)

    • Edited by Dev Eloper Tuesday, October 24, 2017 11:58 AM solution to the side-problem
    • Moved by 宝宝徐 Monday, November 6, 2017 8:14 AM
    Monday, October 23, 2017 7:50 AM

All replies

  • Hi Dev,

    Thank you for posting in MSDN forum.

    Looks like that you have tried many steps for solving this issue. If the repair still doesn't work, there is another possibility that machine hardware or system requirement limit the Xamarin packages loading.

    Could you share us your computer detailed configure information?

    Please check and install all the system patches and updates, clean the %temp% folder . Open the "C:\Users\MyWinId\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml" to check what error that loged in this file.

    Any update please feel free to contact us, we are willing to help you troubleshoot.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    • Edited by 宝宝徐 Tuesday, October 24, 2017 8:32 AM
    Tuesday, October 24, 2017 8:31 AM
  • Hi,

    Here's my hardware configuration:

    Win 10, 2.5Ghz, 2 cores, Croatian Locale, 3,75GB/8GB RAM free

    The system is running VS (in the "locked" state).

    VS info:

    Microsoft Visual Studio Professional 2015
    Version 14.0.25431.01 Update 3
    Microsoft .NET Framework
    Version 4.7.02046
    
    Installed Version: Professional
    
    LightSwitch for Visual Studio 2015
    Microsoft LightSwitch for Visual Studio 2015
    
    Visual Basic 2015
    Microsoft Visual Basic 2015
    
    Visual C# 2015
    Microsoft Visual C# 2015
    
    Visual C++ 2015
    Microsoft Visual C++ 2015
    
    Visual F# 2015
    Microsoft Visual F# 2015
    
    Windows Phone SDK 8.0 - ENU
    Windows Phone SDK 8.0 - ENU
    
    Application Insights Tools for Visual Studio Package   7.18.00214.2
    Application Insights Tools for Visual Studio
    
    ASP.NET and Web Tools 2015.1   14.1.21111.0
    ASP.NET and Web Tools 2015.1
    
    ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
    For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
    
    ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
    For additional information, visit http://www.asp.net/
    
    Azure App Service Tools v2.8.1   14.0.11123.0
    Azure App Service Tools v2.8.1
    
    Clang with Microsoft CodeGen   14.0.25516
    Clang with Microsoft CodeGen
    
    Common Azure Tools   1.8
    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
    
    GitHub.VisualStudio   2.1.1.0
    A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
    
    JavaScript Language Service   2.0
    JavaScript Language Service
    
    JavaScript Project System   2.0
    JavaScript Project System
    
    KofePackagePackage Extension   1.0
    KofePackagePackage Visual Studio Extension Detailed Info
    
    Merq   1.1.17-rc (cba4571)
    Command Bus, Event Stream and Async Manager for Visual Studio extensions.
    
    Microsoft .NET Core Tools (Preview 2)   14.1.21111.0
    Microsoft .NET Core Tools (Preview 2)
    
    Microsoft Azure Mobile Services Tools   1.4
    Microsoft Azure Mobile Services Tools
    
    Microsoft MI-Based Debugger   1.0
    Provides support for connecting Visual Studio to MI compatible debuggers
    
    Mono Debugging for Visual Studio   4.7.4-pre (c2d89eb)
    Support for debugging Mono processes with Visual Studio.
    
    NuGet Package Manager   3.5.0
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
    
    Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
    Microsoft Office Developer Tools for Visual Studio 2015 ENU
    
    PreEmptive Analytics Visualizer   1.2
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
    
    Python Tools for Visual Studio   2.2.40825.00
    Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.
    
    Python Tools for Visual Studio - Django Integration   2.2.40825.00
    Provides templates and integration for the Django web framework.
    
    Python Tools for Visual Studio - Profiling Support   2.2.40825.00
    Profiling support for Python projects.
    
    SQL Server Data Tools   14.0.60519.0
    Microsoft SQL Server Data Tools
    
    TypeScript   1.8.36.0
    TypeScript tools for Visual Studio
    
    Visual C++ for Cross Platform Mobile Development (Android)   14.0.25401.00
    Visual C++ for Cross Platform Mobile Development (Android)
    
    Visual C++ for Cross Platform Mobile Development (iOS)   14.0.25401.00
    Visual C++ for Cross Platform Mobile Development (iOS)
    
    Visual Studio Tools for Apache Cordova   Update 10
    Visual Studio Tools for Apache Cordova
    
    Visual Studio Tools for Universal Windows Apps   14.0.25527.01
    The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
    
    VisualStudio.Mac   1.0
    Mac Extension for Visual Studio
    
    Workflow Manager Tools 1.0   1.0
    This package contains the necessary Visual Studio integration components for Workflow Manager.
    
    Xamarin   4.7.10.22 (fe36bec)
    Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
    
    Xamarin.Android   8.0.0.33 (7a6a056)
    Visual Studio extension to enable development for Xamarin.Android.
    
    Xamarin.iOS   11.2.0.8 (9a9f054)
    Visual Studio extension to enable development for Xamarin.iOS.

    As for the ActivityLog.xml, the last few lines are from this morning, concerning Xamarin packages that failed to load. I no longer have this issue (I have edited the question with a solution to that).

    Please let me know if you need any more details, or other information.


    • Edited by Dev Eloper Tuesday, October 24, 2017 12:41 PM
    Tuesday, October 24, 2017 12:31 PM
  • Hi Dev Eloper,

    Thank you for your update.

    I have seen the screenshots, your machines system requirement meets the System Requirements .

    I suspect that if any third-party VSPackages affect VS, please restart VS in safemode, this switch prevents all third-party add-ins from loading,  thus ensuring stable execution. if it works, this issue should be caused by the extensions and you need to remove the installed extensions under Tools—Extensions and Updates.

    If it doesn’t work in safe mode, please have a try with delete or rename the following folders:

    • C:\Users\<your users name>\AppData\Local\Microsoft\VisualStudio\14.0
    • C:\Users\<your users name>\AppData\Roaming\Microsoft\VisualStudio\14.0

    Then go to Control Panel, right click the VS 2015 and choose ‘Change’—‘Repair’ .

    If any problem persists, please feel free to contact us.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, October 25, 2017 9:34 AM
  • I'm afraid I have already done a clean OS install and am now installing VS 2015 anew.
    • Proposed as answer by 宝宝徐 Thursday, October 26, 2017 5:44 AM
    Wednesday, October 25, 2017 11:34 AM
  • Hi Dev Eloper,

    Glad to hear that you find a way to re-launch a brand new VS 2015.

    A clean OS provides you a much healthy and smooth environment for application running.

    Please mark you reply as answer to close this thread, this will also benefit other members who encounter similar question.

    If you have any other question about VS IDE using, please feel free to let us know, we are willing to help you troubleshoot:)

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by 宝宝徐 Friday, October 27, 2017 6:00 AM
    Thursday, October 26, 2017 5:44 AM