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. Advertising

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. ad
    Replies:
    2
    Views:
    849
  2. Jianli Shen
    Replies:
    1
    Views:
    568
    Victor Bazarov
    Mar 13, 2005
  3. Ark
    Replies:
    1
    Views:
    405
    Chris Torek
    Aug 7, 2004
  4. Jon Slaughter
    Replies:
    4
    Views:
    433
    Jon Slaughter
    Oct 26, 2005
  5. Pierre Yves
    Replies:
    2
    Views:
    474
    Pierre Yves
    Jan 10, 2008
Loading...

Share This Page