ASP.Net Core 2.0 - Referencing 'Microsoft.NET.Sdk.Web' and the 'PreserveCompilationContext' property is not set to false
So it turns out that I renamed my web project and it's namespaces but forgot to do the rename in the _ViewImports.cshtml
file.
I feel really stupid.