Allow Core Razor editor to work in non-project scenarios. #5072
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
cost: L
Will take from 5 - 10 days to complete
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
feature-razor-pages
Milestone
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.
The text was updated successfully, but these errors were encountered: