With MVC applications, stylecop issues SA1126 such as
SA1126 : CSharp.Readability : The call to View must begin with the 'this.', 'base.', 'object.' or 'HomeController.' or 'Controller.' prefix to indicate the intended method call.
This was issued for
The options that SA1126 give do not look right as Visual Studio 2012 Ultimate (11.0.60610.1) with Resharper 8.0.1 (8.0.1000.2286), indicates that the view is at ~/Views/Home/About.cshtml. How should SA1126 be fixed in the context of an MVC application or should
detection of SA1126 be turned off for MVC projects?
Code for this is at
. The next release of this project will be 100% StyleCop compliant except for these SA1126 warnings.