You’ll need to add a reference to your Web project in your Unit.Test project. Just right click under References and select the “Project” tab and you’ll see it listed.
Another possibility is that your controller class isn’t public, so make sure that your controller looks like:
public class TodoController : Controller
With regards to the @using@ statements you’ll notice that they’re not always included in the book text. I did this intentionally to save space in the book. If you’re using Visual Studio without Resharper you can right-click on the code that’s causing a compiler error and select “Resolve”. That will give you an option to add the missing using statement automatically.
Hope that helps,