Nikos Baxevanis
Nikos Baxevanis

Reputation: 11191

ReSharper - Resolving Razor views in separate assembly

I have an ASP.NET MVC 3 solution where some Views (and Controllers) are located in separate assembly (later on they are loaded via MEF). This separate assembly is a Class Library project (a .dll) and the ReSharper can't resolve the Views from inside the controller (even if the View exists it shows it with Red color inside the Controller).

Any ideas?

I am using Build 6.0.2202.688 on 2011-06-29T18:14:16

Upvotes: 2

Views: 1612

Answers (2)

Nikos Baxevanis
Nikos Baxevanis

Reputation: 11191

After reading this post it seems that everything work fine now. (The problem doesn't seem to be related with ReSharper.)

Upvotes: 1

derigel
derigel

Reputation: 3235

Views project must reference controllers project.

Upvotes: 0

Related Questions