Unit Testing & System.Web.Routing
I have a test project and am trying to reference System.Web.Routing. I've added the reference to the project but I am getting the error:
The type 'System.Web.Routing.RouteValueDictionary' is defined in an assembly that is not referenced.开发者_C百科 You must add a reference to assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
I'm sure there is a logical reason for this but I do not know what that is.
You need to add this reference too
Needed a reference to System.Web. Thought I had that already referenced...oops!
精彩评论