我有一个测试项目,正在尝试引用 System.Web.Routing。我已添加对项目的引用,但出现错误:
The type 'System.Web.Routing.RouteValueDictionary' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
我确信这有一个合乎逻辑的原因,但我不知道那是什么。