VS2017 xamarin project rebuild freezes

I have installed VS2017 and have a simple xamarin project in VS2017. When rebuilding the solution vs2017 seems to hang.

Restarting VS2017 does not fix the problem. Restarting the PC will fix it, but after a few builds it will freeze again.

(the code essentially remains consistent - just changes in spaces to fix code issues)

I've tried leaving the job for a few minutes and even hours, but once it fails to build it, it never will until I restart my computer.

This allows me to reverse the build on which it dumps the verbose log. (I changed the build output settings to "verbose").

It doesn't matter how long I leave the assembly, but when I cancel it, the output of the assembly always appears to be "frozen" at the same point.

Following are the last few lines of the assembly output:

1>Done executing task "CreateProperty".
1>Done building target "_ResolveMonoAndroidSdks" in project "Insync2.csproj".
1>Target "_SetupDesignTimeBuildForIntellisense" in file "C:\Program Files\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.Debugging.targets" from project "C:\Users\baldevsandhu\documents\visual studio 2017\Projects\Insync2\Insync2\Insync2.csproj" (target "_GetPrimaryCpuAbi" depends on it):
1>Done building target "_SetupDesignTimeBuildForIntellisense" in project "Insync2.csproj".
1>Target "_GetPrimaryCpuAbi" in file "C:\Program Files\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.Debugging.targets" from project "C:\Users\baldevsandhu\documents\visual studio 2017\Projects\Insync2\Insync2\Insync2.csproj" (target "_CheckInstantRunCondition" depends on it):
1>Using "GetPrimaryCpuAbi" task from assembly "C:\Program Files\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Build.Debugging.Tasks.dll".
1>Task "GetPrimaryCpuAbi"
1>  Adb Task:
1>    AdbTarget: 
1>    AdbOptions: 
1>    DevicePropertyCache: obj\Debug\devices.cache
1>  Reading properties for emulator-5554
1>C:\Program Files\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.Debugging.targets(308,2): warning : One or more errors occurred.
1>Done executing task "GetPrimaryCpuAbi".
1>Done building target "_GetPrimaryCpuAbi" in project "Insync2.csproj" -- FAILED.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:10:05.74
Build has been canceled.

      

Has anyone seen this problem before?

I had VS2015 at first, but it has since been removed.

+3


source to share





All Articles