xamarinxamarin.formsvisual-studio-2017busy-waitingvisual-studio-project

Microsoft Visual Studio is Busy when trying to clean the solution using Xamarin


I have an application created by Xamarin.Forms (PCL)

When I try to Clean the solution,

visual-studio goes to stops working, and I can't open any file or press anything to close it.

just by killing the visual-studio process 'End Process Tree for visual studio.exe'.

if I try to build or rebuild the solution is done without any problems.

if I try to clean Xamarin.Android or Web-Application solution is done.

the problem appears just in Xamarin.Forms solutions.

how I can solve this problem?

enter image description here


Solution

  • After many attempts, I found the solution without installing the latest version of the visual studio.

    Step 1: Disable lightweight solution load

    Tools → Option → Projects and Solutions → Lightweight solution load

    enter image description here

    Step 2: Make sure in the solution properties Lightweight Solution load is disable

    enter image description here

    Step 3: Uncheck Enable UI Debugging Tools for XAML

    Tools → Option → Debugging → General → Enable UI Debugging Tools for XAML

    enter image description here

    Step 4: Rebuild Solution → Clean Solution

    Also, you can clean the solution from BuildBatchBuild

    enter image description here

    References