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?
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
Step 2: Make sure in the solution properties Lightweight Solution load is disable
Step 3: Uncheck Enable UI Debugging Tools for XAML
Tools → Option → Debugging → General → Enable UI Debugging Tools for XAML
Step 4: Rebuild Solution → Clean Solution
Also, you can clean the solution from Build → BatchBuild
References