Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Build Error Building Target

I try to compile my simple program in Xamarin and nothing seems to work. I find it a bit buggy :(

I have clean the project multiple times and try to build the project again. Nothing seems to work. Do you have any ideas how to solve that?

Error: Error building target _XamarinAndroidBuildAarProguardConfigs: Microsoft.Build.BuildEngine.InvalidProjectFileException: Cycle in target dependencies detected at Microsoft.Build.BuildEngine.Target.BuildOtherTargets (System.Collections.Generic.IEnumerable1[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 at 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)

like image 344
Marios Paligiannis Avatar asked Jan 03 '23 19:01

Marios Paligiannis


1 Answers

Downgrading the package Xamarin.Build.Download from Version 0.4.6 to 0.4.5... helped me out.

like image 145
Danielle Avatar answered Jan 15 '23 21:01

Danielle