开发者

ASP.NET MVC System.Web.Routing.RouteCollection Ambiguous Reference?

I am 开发者_JAVA百科trying to write a unit test for testing routes; however, the project is failing to resolve the RouteCollection. When I reference the dll (from the system and also by browsing to my MVC project) and use the FQN (System.Web.Routing.RouteCollection), it complains of an ambiguous reference.

On a side note, when looking at the intellisense for System.Web.Routing, every item is duplicated!

Can you help?


After using reflector to decompile the dll, I came to the conclusion that the RouteCollection did not exist in that dll. Turns out that it exists in System.Web

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜