Skip to content

Don't hardcode dynamic file item type #7411

@davidwengier

Description

@davidwengier

At the moment the DynamicItemHandler hardcodes the item type for Razor files which means there is no way to opt into the Razor editor lighting up, without also affecting build/publish/packaging. For large enterprise solutions (Bing, OrchardCore, etc.) where the Web SDK is not in use this means the Razor editor doesn't work correctly.

The Razor tooling team is wanting to enable this item type to come from a property that is read at evaluation so that in the project system design time targets this can be set to None and in the Web SDK (or possibly the Razor tooling targets) it can be set to Content to preserve the existing behaviour.

/cc @tmeschter @NTaylorMullen

Metadata

Metadata

Assignees

Labels

Resolution-FixedThe bug has been fixed, refer to the milestone to see in which release it was fixed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions