This project is read-only.

MVC music store tutorial1.0 pg 80-82

Nov 29, 2010 at 12:12 AM
Edited Nov 29, 2010 at 12:59 AM

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 6: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 6:45 AM

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