After compiling a MVC Core 2.0 project in VS 2017, the browser isn't displaying the site
Error
An unhandled exception occurred while processing the request.
Cannot find reference assembly 'Microsoft.AspNetCore.Mvc.Razor.ViewCompilation-x86.exe' file for package Microsoft.AspNetCore.Mvc.Razor.ViewCompilation-x86
Solution
Open the
In the
<mvcrazorcompileonpublish>true</mvcrazorcompileonpublish>













