title: Warning on dotnet core 2.1.0 API project
body: <p>New to dotnet</p>
  
  <p>VS2017 version: 15.8</p>
  
  <p>.Net core SDK: 2.1.403</p>
  
  <p>My project is showing following Exception:</p>
  
  <blockquote>
    <p>C:\gitprojects\crm-api\DA Digital APIs\DA.Digital.CRM.Api\DA.Digital.CRM.Api.csproj : warning NU1701: Package 'Microsoft.AspNet.Cors 5.2.6' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.
    C:\gitprojects\crm-api\DA Digital APIs\DA.Digital.CRM.Api\DA.Digital.CRM.Api.csproj : warning NU1701: Package 'Microsoft.AspNet.WebApi.Core 5.2.6' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.
    C:\gitprojects\crm-api\DA Digital APIs\DA.Digital.CRM.Api\DA.Digital.CRM.Api.csproj : warning NU1701: Package 'Microsoft.AspNet.Cors 5.2.6' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.
    C:\gitprojects\crm-api\DA Digital APIs\DA.Digital.CRM.Api\DA.Digital.CRM.Api.csproj : warning NU1701: Package 'Microsoft.AspNet.WebApi.Core 5.2.6' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.</p>
  </blockquote>
  
  <p><strong>Q</strong>: What could be the reason? Is there any solution?</p>