Skip to content

Allow Core Razor editor to work in non-project scenarios. #5072

Closed
@NTaylorMullen

Description

@NTaylorMullen

Today if a Razor file is opened outside of the context of a project (diffing two Razor files) there is no IVsHierarchy and therefore no project path or any project information.

Our system relies on the idea that a document conceptually has a project; however, this is not true in the diff scenario and technically not true in the ctrl + o scenario for a Razor file (ctrl + o uses old Razor editor today).

This crashes VS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatescost: LWill take from 5 - 10 days to completeenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-razor-pages

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions