Skip to content

Umbrella: Replace IDynamicDocumentInfoProviders #6919

@chsienki

Description

@chsienki

Today, razor tooling hosts the razor compiler in order to create design time documents. These are then injected into the Roslyn workspace via IDynamicDocumentInfoProvider.

Because the Roslyn workspace has the source generator, it also produces the same documents, and must be explicitly suppressed.

These means the compiler is used in two different ways: one for the tooling and one for the source generator. Ideally, we would just allow the source generator to run, and 'pull in' to the tooling the generated outputs. This would simplify the design of the compiler, allowing to potentially unlock performance enhancements.

Work items:

IDE:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions