Make 'Find all References' search in MVC Views
For example, let's say I'm working in an ASP.NET MVC project and have a file named AccountDetailsViewModel.cs open in IDE editor. This file contains a class named AccountDetailsViewModel. In this same MVC project, I have an MVC View in AccountDetailsView.cshtml. This View is strongly typed to use the AccountDetailsViewModel object. When I right-click in AccountDetailsViewModel to find all references to this class, the file AccountDetailsView.cshtml does not appear in the results. The reference to the View Model is not discovered in AccountDetailsView.cshtml. Please enhance the "Final all References" search functionality to discover references in ASP.NET view files such as .cshtml, .aspx, and .ascx.
Jim Ortiz commented
Visual Studio 2015 Update 1, still no. It catches references in views that are open, but opening every view in my solution is not going to work for me. I'd love to see this become a reality.
This functionality is still not available in 2013 Update 4 - really hoping that VS2014/2015 will implement it, especially since Resharper has done so for ages.
The following feedback item along with votes was transferred from the Visual Studio User Voice site. If you would like to view the original comment history, click here http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2628226-make-find-all-references-search-in-mvc-views