DevinM
DevinM

Reputation: 1

Problem in GetRuleViolations method in NerdDinner tutotial

I'm on about page 70 of the NerdDinner tutorial (MVC 1.0 version). It won't build at this point because it is saying the properties referred to in the GetRuleViolations (ie, Title, Description, etc) can't be resolved. I've compared my own project with the downloadable source code and can't figure out what is missing. The error VS 2008 is giving me is "The name 'Title' does not exist in the current context". I can see the declarations in the NerDinner.designer.cs file.

Upvotes: 0

Views: 487

Answers (1)

Haacked
Haacked

Reputation: 59001

Did you make sure to import the namespace of the model type?

Upvotes: 0

Related Questions