[1636] // ReSharper disable Asp.NotResolved don't work on return View() in Controller Actions
Hi,
i have this.
private class TestController : Controller
{
public ActionResult TestAction() {
// ReSharper disable Asp.NotResolved
return View();
// ReSharper restore Asp.NotResolved
}
}
And no View (not needed).
But it is marked as an error.
Regards
Albert
Please sign in to leave a comment.
It's fixed in the last nightly build.
But you need to change severity of this error to warning, since disabling of specific highlightings is not working for errors, only for warnings, suggestions and etc.
By the way, if you don't need view why just don't use EmptyResult?
In more latest build you can disable errors too.