1

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. 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.

2 Answers 2

4

You need to add this reference too

You need to add this reference too

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks @matiasnj! I realized that right after I posted my question and posted an answer.
No problem, I saw this and as I was posting you first realise, good luck!
2

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.