* Use reference assemblies when compiling Razor views Fixes https://github.com/dotnet/aspnetcore/issues/18323 * Avoid mixing runtime and ref assembly