Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot clear error list - build fails

Status
Not open for further replies.

jacktripper

Programmer
Dec 5, 2001
124
US
I'm not sure what I'm doing wrong here.

I have a website I've built that works great in debug mode, and when I'm looking at all the VB code behind, etc, I see no underlined "error items".

But, my error list show 47 stinking errors. When I open the list, and double click the errors, VS jumps me to the appropriate page... but again - there are no underlined noticable problems. If I mouse over the classes it says are undeclared, I get the typical box that shows everything is fine.

So, for some reason I can't build this thing for deployment. Am I missing something obvious?

I did a few User Imports to the list of referenced Namespaces. Do i have to add them somewhere else too?

This is really frustrating. If it works in Debug mode, I don't understand why I can't build the actual site...
 
its sounds like a dependence issue. Do you have other solutions open at the same time that reference any dependent objects? If not, check all your reference object path, make sure you build those projects where that reference is being pulled from.

I have a solution with multiple projects with cross referencing and that is a nightmare. I needed to understand the order to build my projects individually in order for all the projects to build correctly.
 

After more digging, I think the problem is that my App_Code classes are not compiling. I can't find any compiled DLL anywhere.

I've got 3 folders in my App_Code section for BO, BLL, and DAL... Each with about 3 differnt VB files. There were all set to "Content"

Changing them to "Compile" change the number of error message in my build by a few, but I'm still gettting 40+ problems.

I don't have any other solutions open right now.
 
I think my namespaces are jacked up. I'm going to basically copy and paste them and rebuild and see what happens.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top