Compiler can't find definition

G

Guest

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top