Xamarin Build Error Build Task

I am trying to compile my simple program in Xamarin and nothing works. I find it a little buggy :(

I clean up the project several times and try to create the project again. Nothing is working. Do you have any idea how to solve this?

Error: error while creating the target _XamarinAndroidBuildAarProguardConfigs: Microsoft.Build.BuildEngine.InvalidProjectFileException: a loop was detected in the target dependencies in Microsoft.Build.BuildEngine.Target.BuildOtherTargets (System.Collections.Generic.IEnumerable 1[T] targetNames, System.Action1 [T] missing_target, System.Boolean & executeOnErrors) [0x00065] in / private / tmp / source-mono-2017-02 / bockbuild-2017-02 / profiles / mono-mac-Xamarin / build root / mono-x86 / MCS / class / Microsoft.Build.Engine / Microsoft.Build.BuildEngine / Target.cs: 263 at Microsoft.Build.BuildEngine.Target.BuildDependencies (System.Boolean & executeOnErrors) [0x0003f] in / private / tmp / source -mono -2017-02 / bockbuild-2017-02 / profiles / mono-mac-xamarin / build- root / mono-x86 / MCS / class / Microsoft.Build.Engine / Microsoft.Build.BuildEngine / Target.cs: 211 in Microsoft .Build.BuildEngine.Target.BuildActual (System.String built_targets_key, System.Boolean & executeOnErrors) [0x00091] in / private / tmp / source -mono-2017-02 / bockbuild-2017-02 / profiles / mono-mac -xamarin /build-root/mono-x86/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Target.cs: 177 (SmoochAndroid)

+4
source share
2 answers

Reducing the package Xamarin.Build.Downloadfrom version 0.4.6to 0.4.5... helped me.

+9
source

I had to downgrade Xamarin.Build. Download 0.4.5 back from the current 0.4.6. Still not finding the exact answer about why, but it worked for me. I found a question on the Xamarin forums.

0
source

Source: https://habr.com/ru/post/1680556/


All Articles