Missing reference to System.Web.Mvc in Asp.net Unit Test? -
i made unit tests asp.net mvc application, or tried to, keep telling me "the type 'system.web.mvc.controller' defined in assembly not referenced. must add reference assembly 'system.web.mvc, version=5.1.0.0, culture=neutral.' tried add reference above mentioned, able choose version 4.0.0.0 , tells me project uses version 5.1.0.0, higher version. do?
thanks bunch!
mvc 5 comes in nuget package. did main mvc web project in solution. install mvc via nuget test project, , should go.
Comments
Post a Comment