0

Hello, I'm following the tutorial of MVCMUsicStore at http://mvcmusicstore.codeplex.com/
and the PDF tutorial that I'm following can be downloaded at http://mvcmusicstore.codeplex.com/releases/view/44445#DownloadId=121650

I'm stuck at the page 53 "Creating the Edit View" (navigate to that page using the adobe reader page input)

I have created the StoreManagerViewModel class in ViewModels folder.

I right clicked the 'edit' method of the StoreManagerController class > Add > View

The 'view data class' suggestion does not suggest the StoreManagerViewModel

I have 3 classes in the ViewModels folder, but it only shows the other two.

Why is that StoreManagerViewModel is not suggested ?

Thanks

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by esia168
0

It's solved, I just recalled back the earlier one of that tutorial, I have to build the project then the "Add View" dialog will get the updated of all the files in ViewModel folder.

At page 25 ( or 24 for the printed one) "Next we’ll want to add a view, but before we do that we need to build the project so that the Add View dialog knows about our StoreIndexViewModel. You can build the project by selecting the Build⇨Build Solution menu item."

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.