type does not contain a definition for Identifier
-
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? I'm re-sending this message as it is very urgent to find the solution. YOur help is really appreciated
-
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? I'm re-sending this message as it is very urgent to find the solution. YOur help is really appreciated
nilam2477 wrote:
it is very urgent to find the solution
So, you are suggesting that other people's problems aren't urgent?
nilam2477 wrote:
'Project.CommonClass.User' does not contain a definition for 'ReportName'
Is the class/method exposed outside the assembly? Is it public?
*Developer Day Scotland - Free community conference Delegate Registration Open
-
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? I'm re-sending this message as it is very urgent to find the solution. YOur help is really appreciated
nilam2477 wrote:
I'm re-sending this message as it is very urgent
well, not to me.
nilam2477 wrote:
YOur help is really appreciated
well, - Did you reference the assembly? - Did you use the right namespace?
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]