Rizan Zaky
Rizan Zaky

Reputation: 4692

Circular dependency detected when installing Nuget package, Akavache 6.0.0-alpha0038

I'm getting a 'Circular dependency detected' error when I'm trying to install Akavache 6.0.0-alpha0038 into my Xamarin.IOs project in Visual Studio 2017.

This is the error in detail,

Error       Circular dependency detected 'akavache 6.0.0-alpha0038 => akavache.core 6.0.0-alpha0038 => System.Reactive 3.1.1 => System.Reactive.PlatformServices 4.0.0-preview00001 => System.Reactive 3.1.1'

How can I resolve this issue?

Upvotes: 1

Views: 4100

Answers (2)

Suchith
Suchith

Reputation: 1527

Open nuget manager
select package
open options and select dropdown from 'install and update optoins' -'Ignore Dependency'
Same way for uninstall

enter image description here

Upvotes: 0

Rizan Zaky
Rizan Zaky

Reputation: 4692

In your visual studio, open Options Menu (Tools > Options),

Then, Under, NuGet Package Manager > General, choose PackageReference as the Default package management format for Package Management (refer image)

enter image description here

Now try installing the nuget package, in this case Akavache 6.0.0-alpha0038.

Worked for me 🤗

Note: You have to remove packages.config file if it exists. You can remove the file, then install the package, then re-add the file.

Upvotes: 2

Related Questions