开发者

ReSharper 5 disable resolve view

I just did a fresh installation of Visual Studio 2010 Ultimate and ReSharper 5. But now ra开发者_开发知识库n into the following situation;

return View("~/Plugin/Plugin.Product.dll/Plugin.Product.Views.CreateProduct.ascx");

From a controller i'm returning a view a shown above. ReSharper 5 is trying to resolve this view, but can't find it. Which is explainable in my situation. What i want is to disable the option for ReSharper to try and resolve the views. Is this possible?


First, you can disable ASP.NET MVC resolving at all. See ReSharper->Options->ASP.NET.

Second, you can disable resolving exactly in that place, where you don't need it by special comment. See Quick Fix available on unresolved view.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜