Package was restored using .NetFramework instead of project target framework

Viewed 5058

I created a new project with the DevExtreme ASP.Net Core Application template. Then I changed the framework from .Net Core 1 to .Net Core 2.0 However when I try to build I get the following error.

Warning NU1701  Package 'System.Linq.Queryable 4.0.0' was restored using 
'.NETFramework,Version=v4.6.1' instead of the project target framework 
'.NETCoreApp,Version=v2.0'.  . This package may not be fully compatible with your project.

enter image description here

This problem is similar to This question about Nu1701 However the package in question is DevExtreme.AspNet.Core The name of the package indicates that it is meant to work with Core.

1 Answers

Upgrade to the DevExtreme 17.2.2 Beta and use the DevExtreme 17.2 ASP.Net Core Application (.NET Core) template

Related