JetBrains Rider 2022.1 Help

Code Inspection: MVC (unknown view)

This inspection checks whether the name of a view passed as a string literal to the Controller.View() method corresponds to any valid view item in your project. All view items are defined as .chtml files in the Views project directory.

By default, this inspection has the 'Error' severity level because a missing view will lead to a runtime error even if the project will compile.

Last modified: 16 March 2021