9

We have a project in ASP.net MVC2 were we have our own ViewEngine that overrides were views locations are. Problem is that Resharper 5.1 is not picking up this, of course. Is there anyone who knows of a way to extend R# to pick this up?

I don't want to disable R# to not try to resolve view globally or local with the R# comment. I want to full tooling support.

2
  • Technically, you don't need a custom ViewEngine to specify where Views are stored. You can just set ViewLocationFormats on whatever View Engine you're currently using. R# will still choke, though.
    – bzlm
    Oct 19, 2010 at 9:52
  • Its not only for setting the locations - we do other stuff with the ViewEngine as well. Oct 19, 2010 at 9:54

1 Answer 1

3

R# and Visual Studio don't have support for custom view locations. Imagine views stored in a database for example. You could still write to the R# team and ask to implement this feature in the next version.

2
  • I thought I did already, but now I can't find the request. Either way, this is probably the place to ask: devnet.jetbrains.net/community/resharper/…
    – bzlm
    Oct 19, 2010 at 11:15
  • I've done further crawling of the web and saw a couple of discussions talking about an architecture in R# 5.1 that allowed for a plugin to be written to resolve the views, but nothing specific. I'll post it on the R# forums. Thanks. Oct 19, 2010 at 11:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.