MVC music store tutorial1.0 pg 80-82

Nov 28, 2010 at 11:12 PM
Edited Nov 28, 2010 at 11:59 PM

Hi I am following along the tutorial and at the end of page 82 I try to run my project and encounter the following error...


I created the storemanagerviewmodel.cs  and edited the storemanagercontroller.cs just like the tutorial on page 80.

When I run the project it says "The type or namespace name 'StoreManagerViewModel' could not be found (are you missing a using directive or an assembly reference?)"


StoreManagerController & Error -

StoreManagerViewModel -



I copied and pasted the code from the pdf tutorial and I can't figure out where my error is.


Nov 29, 2010 at 5:24 AM

I figured out the problem.  I forgot to add "using MvcMusicStore.ViewModels;" to the top of the StoreManagerController.cs

Nov 29, 2010 at 5:45 AM

Yes, that would do it. Glad you spotted it.