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
visual-studio-2017 xamarin-studio


source to share


No one has answered this question yet

See similar questions:

13
Visual Studio regularly freezes the startup of Microsoft.VisualStudio.Web.Host.exe

or similar:

180
How can I install the msbuild VS2017 version on the build server without installing the IDE?
94
Visual Studio 2017 sets breaks Visual Studio 2015 ASP.NET Core Projects
65
Can files be nested in VS2017 Solution Explorer for .NET Core (nonASP.NET Core)?
22
Hosted VS2017 agent build master.dacpac does not exist
21
Name cannot start with '$', hex value 0x24
7
Based on self-serve VSTS-BuildAgent for VS 2017 with error "TransformWebConfig task could not be loaded [...]"
3
Roslyn compiler to install vs2017
1
MSB4019: Missing Microsoft.VisualStudio.ServiceModel.targets while running MSBuild via TeamCity in VS2017 Build Tools
0
Visual Studio Build Error: Target "MainResourceGeneration" does not exist in the project
0
STARS.Web.csproj 'targets' net471'. It cannot be referenced by a project targeting .NETStandard, Version = v2.0



All Articles
Loading...
X
Show
Funny
Dev
Pics