Link to home
Start Free TrialLog in
Avatar of wademi
wademi

asked on

MVC Error

I am getting the following error when I try to build a basic MVC application;

Error      1      The type or namespace name 'Controllers' does not exist in the namespace 'MvcBasicWalkthrough' (are you missing an assembly reference?)      c:\users\milligram\documents\visual studio 2010\Projects\MvcBasicWalkThrough\MvcBasicWalkThrough.Tests\Controllers\MapsControllerTest.cs      8      27      MvcBasicWalkThrough.Tests


I am following the  isntructions found here:
http://msdn.microsoft.com/en-us/library/dd410597.aspx

I am building at the section "Adding Unit Tests for Action Methods"

The MvcBasicWalkThrough is a added as a reference under MvcBasicWalkThrough




I have the
Avatar of mrjoltcola
mrjoltcola
Flag of United States of America image

There error appears to be in your test project, not the MVC app.

Add a reference to the main project from your test project.
Avatar of wademi
wademi

ASKER

mrjoltcola: the reference is already added to the main project. Look at the last line of my question
ASKER CERTIFIED SOLUTION
Avatar of wademi
wademi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wademi

ASKER

No other resolution was provided