Compiler can't find definition

Discussion in 'ASP .Net' started by =?Utf-8?B?UmF5IENhY2NpYXRvcmU=?=, Jul 27, 2004.

  1. I have a VS.NET 2005 web application which I converted from VS.NET 2003. Everything has worked fine up to now. I have two projects in my solution, a Data Tier and another project holding the web forms. I'm using code-behind files for each web form.

    Today I had to add a new method to one of my .cs file in my Data Tier. I rebuilt the DataTier and tried running my web app.

    I get an error "'DataTier.clsMessage' does not contain a definition for 'GetThreadReplies'"

    I opened my .cs file to make sure I didn't mis-spell the method "GetThreadReplies" but it is fine. The file seems to be ok. It IS defined as a method. I cannot see why I cannot compile my web app. The DataTier project compiles without any errors. It's when I compile the solution or the Web Site that the error pops up...

    Is there something new in the compiling logic of VS.NET 2005 that I should be aware of? Everything compiled ok before adding the new method. It's the first time I needed to modify one of my DataTier (.cs) files.

    Help ? :-(

    Ray
     
    =?Utf-8?B?UmF5IENhY2NpYXRvcmU=?=, Jul 27, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jack Wright
    Replies:
    5
    Views:
    869
    Shiv Kumar
    Jan 19, 2004
  2. ad
    Replies:
    2
    Views:
    1,092
  3. Jianli Shen
    Replies:
    1
    Views:
    864
    Victor Bazarov
    Mar 13, 2005
  4. Ark
    Replies:
    1
    Views:
    621
    Chris Torek
    Aug 7, 2004
  5. Jon Slaughter
    Replies:
    4
    Views:
    690
    Jon Slaughter
    Oct 26, 2005
  6. Pierre Yves
    Replies:
    2
    Views:
    761
    Pierre Yves
    Jan 10, 2008
  7. Wybo Dekker
    Replies:
    1
    Views:
    631
    Yukihiro Matsumoto
    Nov 15, 2005
  8. vdvorkin
    Replies:
    0
    Views:
    621
    vdvorkin
    Feb 10, 2011
Loading...