开发者

ReSharper 5 disable resolve view

开发者 https://www.devze.com 2022-12-26 18:00 出处:网络
I just did a fresh installation of Visual Studio 2010 Ultimate and ReSharper 5. But now ra开发者_开发知识库n into the following situation;

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

精彩评论

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