6

I have ASP.NET Core 2.2 i am trying to install dotliquid using nuget

Install-Package DotLiquid -Version 2.0.298

but getting error

enter image description here

Does DotLiquid support .NET Core 2.2 ?

LP13
  • 30,567
  • 53
  • 217
  • 400

1 Answers1

17

Update: Actually, I can reproduce your problem.

It seems to be because your solution or project is also called DotLiquid. When I create a new ASP.NET Core 2.2 web application called DotLiquid, just as you have in your screenshot, then I also get the cycles error:

Edit: This is apparently by design.

Project and solution named the same as the NuGet package

However, if I create an application with any other name, it installs fine.

Original answer

I just created a new ASP.NET Core 2.2 web application, and installed the latest version of DotLiquid - version 2.0.314 - and it installed successfully. Try that version instead of 2.0.298.

John H
  • 14,422
  • 4
  • 41
  • 74