Package 'EntityFramework 6.2.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0' : <p>I have made .net core 2.0 web app. I have added Entity Framework 6.2.0 using NUGET and then I get this error</p>

<blockquote>
  <p>Package 'EntityFramework 6.2.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.</p>
</blockquote>

<p>How do I fix this? </p>
