By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,865 Members | 1,717 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,865 IT Pros & Developers. It's quick & easy.

Compile errors in VS.Net 2003

P: n/a
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

Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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:
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

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.