Closed
Description
Related issue: https://github.com/dotnet/cli/issues/9135. We set PreserveCompilationContext=true for all project types in the Razor.Sdk. This results in an refs
directory to be created in the build output directory which is undesirable. We should consider setting PreserveCompilationContext=true only if the app's an executable.