Connecting Tech Pros Worldwide Forums | Help | Site Map

Compile errors in VS.Net 2003

Ravi Chaudhary
Guest
 
Posts: n/a
#1: Jul 21 '05
Hi,

We are using VS.Net 2003 and coding in VB.net. The
solution has 38 projects; most of the projects in the
solution reference other projects (without any circular
references) and all the references were added to using the
Projects tab on the Add Reference dialog and not by
browsing to the DLL for the project.

When we build or run the solution "bogus" compile errors
show up for classes in projects that were not modified
before building the solution and in most cases are not
even open in the IDE at the time. The compile errors
typically say that a data member is missing or a control
is missing from the class and they will only go away, if
we rebuild the solution or just close and open it again.
Sometimes even while rebuilding other compile errors
related to .resources files not being accessible show up
and then we have to delete the bin and Debug folders for
the project containing the class and only then rebuild
works.

We have had this problem for some time now but it was NOT
as frequent (we saw them once or twice every week), lately
it has been happening almost every time we try to compile
the solution after making a change.

Any ideas what could be causing this? Would rebuilding the
solution by removing all the projects from it and adding
those back help?

Thanks in advance

Ravi


Rakesh Rajan
Guest
 
Posts: n/a
#2: Jul 21 '05

re: Compile errors in VS.Net 2003


Check whether your Configuration Manager settings is correct. Try ticking all
the entries in the 'Build' column - this might be the problem.

If this doesn't help, may be you should try re-installing VS.NET though I
know it's a loooong process.

HTH,
Rakesh

"Ravi Chaudhary" wrote:
[color=blue]
> Hi,
>
> We are using VS.Net 2003 and coding in VB.net. The
> solution has 38 projects; most of the projects in the
> solution reference other projects (without any circular
> references) and all the references were added to using the
> Projects tab on the Add Reference dialog and not by
> browsing to the DLL for the project.
>
> When we build or run the solution "bogus" compile errors
> show up for classes in projects that were not modified
> before building the solution and in most cases are not
> even open in the IDE at the time. The compile errors
> typically say that a data member is missing or a control
> is missing from the class and they will only go away, if
> we rebuild the solution or just close and open it again.
> Sometimes even while rebuilding other compile errors
> related to .resources files not being accessible show up
> and then we have to delete the bin and Debug folders for
> the project containing the class and only then rebuild
> works.
>
> We have had this problem for some time now but it was NOT
> as frequent (we saw them once or twice every week), lately
> it has been happening almost every time we try to compile
> the solution after making a change.
>
> Any ideas what could be causing this? Would rebuilding the
> solution by removing all the projects from it and adding
> those back help?
>
> Thanks in advance
>
> Ravi
>
>[/color]
Closed Thread