4

I'm new to Nugets install and DotLiquid, and I'm getting the following error when installing DotLiquid with Nugets:

Install failed. Rolling back...
Install-Package : Could not install package 'DotLiquid 2.0.64'. You are trying to install this package into a project that targets 
'.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that 
framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package DotLiquid

From here, it says DotLiquid does support .NET Framework 4.5, however I don't know how to "download the nuget package", as the download link from dotliquid only show packages more than 4 years old.

How to fix it?

PS. If I try Get-Package DotLiquid, I'll get this:

PM> Get-Package DotLiquid
No packages installed.

UPDATE:

I've just installed the up-to-date NuGet extension (and restarted my MS VS several times), but the problem remain the same. My current NuGet version:

Package Manager Console Host Version 2.12.0.817
xpt
  • 20,363
  • 37
  • 127
  • 216

0 Answers0