开发者

Unit Testing & System.Web.Routing

开发者 https://www.devze.com 2023-03-11 09:45 出处:网络
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:

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

Unit Testing & System.Web.Routing


Needed a reference to System.Web. Thought I had that already referenced...oops!

0

精彩评论

暂无评论...
验证码 换一张
取 消