See https://github.com/dotnet/cli/issues/3932 for information about the 'preserveCompilationContext' option in the project.json-based project system.
ASP.NET needs this option to support compiling Razor views at runtime for both .NET Core and desktop .NET Framework projects.
Also, need to understand if "ReferenceAssembly" references need to be generated in the .deps.json file, and how to get that information in MSBuild.