dotnet restore unable to resolve Telerik.UI.for.AspNet on macOS

I'm trying to get a dotnet project working on macOS but I'm getting stuck when I run dotnet restore. All packages install fine except for my Telerik package:

Unable to resolve 'Telerik.UI.for.AspNet.Core (>= 2016.3.1118)' for '.NETFramework,Version=v4.5.2'.

It's not a very descriptive error message so I'm not sure where to go from here.

Some things I've tried:

  • Running nuget restore (results in error saying The project file... .xproj was not found. - even though it's there)
  • Adding the package to NuGet.Config:

<add key="Telerik.UI.for.AspNet.Core.2016.3.1118" value="/Users/me/.nuget/packages/Telerik.UI.for.AspNet.Core/2016.3.1118" />

What the package looks like in my nuget packages directory

Jon Skeet
people
quotationmark

Well that's not the name of a Nuget package any more, as far as I can tell. I believe you want the KendoUICore.

Based on the versions of that - which include 2016.3.1118 - I suspect that temporarily had the name "Telerik.UI.for.AspNet.Core" before someone noticed that was a bizarre NuGet package name.

There's also Kendo.Mvc which has the description "Telerik UI for ASP.NET MVC Core 1.0.0", but that doesn't have a version matching your expected version number.

people

See more on this question at Stackoverflow