Oh, the pain..
Hello. I'm getting a good amount of errors when trying to update to ASP.Net Core 2.0
The most important are that EntityFrameWork.Core is no longer recognized inside the project.
The type or name of the 'EntityFrameworkCore' namespace does not exist in the 'Microsoft' namespace (are any assembly references missing?)
Also, there are many other errors indicating that the packages are not compatible with aspnetcore2.0. They all are installed thru the metapackage
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
This is how my csproj looks at the moment:
<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup><TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>net461</TargetFramework></PropertyGroup><PropertyGroup><AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback></PropertyGroup><ItemGroup><Compile Remove="wwwroot\lib\kendo-ui-core\**" /><Content Remove="wwwroot\lib\kendo-ui-core\**" /><EmbeddedResource Remove="wwwroot\lib\kendo-ui-core\**" /><None Remove="wwwroot\lib\kendo-ui-core\**" /></ItemGroup><ItemGroup><Content Include="wwwroot\css\bootstrap-lumen.css" /><Content Include="wwwroot\css\bootstrap-sand.css" /><Content Include="wwwroot\css\bootstrap-sand.min.css" /><Content Include="wwwroot\js\application-role-index.js" /><Content Include="wwwroot\js\family-index.js" /><Content Include="wwwroot\js\jquery-3.2.1.min.js" /><Content Include="wwwroot\js\modal-action-store.js" /><Content Include="wwwroot\js\populate-district.js" /><Content Include="wwwroot\js\store-index.js" /><Content Include="wwwroot\js\type-index.js" /><Content Include="wwwroot\js\user-index.js" /><Content Include="wwwroot\js\jquery.filtertable.min.js" /><Content Include="wwwroot\js\machine-index.js" /></ItemGroup><ItemGroup><PackageReference Include="Bootstrap.v3.Datetimepicker" Version="4.17.45" /><PackageReference Include="Bootstrap.v3.Datetimepicker.CSS" Version="4.17.45" /><PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" /><PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" /><PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="2.0.0" /><PackageReference Include="Microsoft.VisualStudio.Web.CodeGenerators.Mvc" Version="2.0.0" /><PackageReference Include="Newtonsoft.Json" Version="10.0.3" /><PackageReference Include="NuGet.CommandLine" Version="4.1.0" /></ItemGroup><ItemGroup><DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" /><DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" /></ItemGroup></Project>
I thank beforehand any help on this matter. There must be something I did wrong when trying to update to this new version.
Regards