Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. type does not contain a definition for identifier [modified]

type does not contain a definition for identifier [modified]

Scheduled Pinned Locked Moved ASP.NET
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nilam2477
    wrote on last edited by
    #1

    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

    A 1 Reply Last reply
    0
    • N nilam2477

      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

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • A Abhijit Jana

        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

        N Offline
        N Offline
        nilam2477
        wrote on last edited by
        #3

        In one project Web Site project where i'm calling the ReportName property

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups