Skip to content

Implement PreserveCompilationContext #11

@eerhardt

Description

@eerhardt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions