mbdavid / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.52k stars 1.24k forks source link

[BUG] cycle error with dotnetcore3.0: error NU1108: LiteDB -> LiteDB (>= 5.0.5). #1604

Open RickBradford opened 4 years ago

RickBradford commented 4 years ago

Version Which LiteDB version/OS/.NET framework version are you using. (REQUIRED)

Describe the bug A clear and concise description of what the bug is.

Code to Reproduce Write a small snippet to isolate your bug and could be possible to our team test. (REQUIRED)

Expected behavior A clear and concise description of what you expected to happen.

Screenshots/Stacktrace If applicable, add screenshots/stacktrace

Additional context Add any other context about the problem here.

digital-stoic commented 4 years ago

Facing the same issue:

Version .Net Core 3.1.401 on WSL2 LiteDb 5.0.9

Describe the bug Cannot install the package LiteDB from a .Net console project: Cycle detected

Code to Reproduce

$ dotnet add package LiteDB --version 5.0.9
  Determining projects to restore...
  Writing /tmp/tmpxhD5VG.tmp
info : Adding PackageReference for package 'LiteDB' into project '/mnt/c/data/dev/fsharp-lab/LiteDb/LiteDb.fsproj'.
info : Restoring packages for /mnt/c/data/dev/fsharp-lab/LiteDb/LiteDb.fsproj...
error: Cycle detected.
error:   LiteDb -> LiteDB (>= 5.0.9).
info : Package 'LiteDB' is compatible with all the specified frameworks in project '/mnt/c/data/dev/fsharp-lab/LiteDb/LiteDb.fsproj'.
error: Value cannot be null. (Parameter 'path1')

Expected behavior Should be able to install the package in the .Net project

Screenshots/Stacktrace See above

Additional context Detected the issue while trying to install LiteDB.FSharp