type does not contain a definition for identifier [modified]
-
I have a solution containing about 5 projects. One of these is "CommonClass" witch contains a class User with a public property ReportName. In my web site i check this property on an user object (if (usr.ReportName) ...) Intellisens works on the property, and when i right click and "go to definition" i go to the correct file and definiton. However when i build i get the following error: 'Project.CommonClass.User' does not contain a definition for 'ReportName' How can i fix this error? Thanks
modified on Thursday, April 9, 2009 1:45 AM
-
I have a solution containing about 5 projects. One of these is "CommonClass" witch contains a class User with a public property ReportName. In my web site i check this property on an user object (if (usr.ReportName) ...) Intellisens works on the property, and when i right click and "go to definition" i go to the correct file and definiton. However when i build i get the following error: 'Project.CommonClass.User' does not contain a definition for 'ReportName' How can i fix this error? Thanks
modified on Thursday, April 9, 2009 1:45 AM
nilam2477 wrote:
'Project.CommonClass.User' does not contain a definition for 'ReportName'
In which project are you getting the error? or in every project ?
cheers, Abhijit CodeProject MVP
-
nilam2477 wrote:
'Project.CommonClass.User' does not contain a definition for 'ReportName'
In which project are you getting the error? or in every project ?
cheers, Abhijit CodeProject MVP