JetBrains Rider
 
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Code Inspection: MVC (unknown view)

Last modified: 16 March 2021

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.