473,471 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Bogus Task List Errors That Prevent Build

Jon
I am constantly getting reports in my task list like these:

* 'someObjectName" is not a member of 'someOtherObjectName'
* Handles clause requires a WithEvents variable.
* Name 'someName' is not declared

These errors are totally erroneous. If I go into the class and cut the
offending code and repaste it in the same spot the errors temporarily go
away. Also, more effective is to delete the files in project/bin and
rebuild. Both fixes work temporarily.

When these errors aren't displayed, the project builds find and runs fine,
but when the errors are being displayed, it won't build.

Please somebody post an answer. This has been a frequent hassle and I have
searched extensively for answers without luck.

Thank You,
Jon
Nov 21 '05 #1
5 1550
June 23, 2005

I have had that problem occasionally too. It was a complete and utter
development stopper too! :-( I eventually had to save the code files and
then re-create the project from scratch. I copied and pasted the UIs and
code, but it still was a giant headache... Hope yours works out better than
mine....

--
Joseph Bittman
Microsoft Certified Application Developer

"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:3B**********************************@microsof t.com...
I am constantly getting reports in my task list like these:

* 'someObjectName" is not a member of 'someOtherObjectName'
* Handles clause requires a WithEvents variable.
* Name 'someName' is not declared

These errors are totally erroneous. If I go into the class and cut the
offending code and repaste it in the same spot the errors temporarily go
away. Also, more effective is to delete the files in project/bin and
rebuild. Both fixes work temporarily.

When these errors aren't displayed, the project builds find and runs fine,
but when the errors are being displayed, it won't build.

Please somebody post an answer. This has been a frequent hassle and I
have
searched extensively for answers without luck.

Thank You,
Jon

Nov 21 '05 #2
You may have hit a build/rebuild problem that bothered me for a while. When
you try a build that should work but fails, try a rebuild. If the rebuild
fails, then I have no answer for you, and this reply is off topic. good luck.

But if the rebuild works where the build failed, then you have hit this
nasty little problem, and the workaround is to do rebuilds rather than
builds. It is an irritant, but you will get used to it, and you won't need
to edit your code to execute the workaround. In my opinion, this is an MS
bug where build doesn't quite get things right in projects of sufficient size
or complexity after some editing operations. To read more, search all
newsgroups for 'amercer rebuild'.

"Joseph Bittman MCAD" wrote:
June 23, 2005

I have had that problem occasionally too. It was a complete and utter
development stopper too! :-( I eventually had to save the code files and
then re-create the project from scratch. I copied and pasted the UIs and
code, but it still was a giant headache... Hope yours works out better than
mine....

--
Joseph Bittman
Microsoft Certified Application Developer

"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:3B**********************************@microsof t.com...
I am constantly getting reports in my task list like these:

* 'someObjectName" is not a member of 'someOtherObjectName'
* Handles clause requires a WithEvents variable.
* Name 'someName' is not declared

These errors are totally erroneous. If I go into the class and cut the
offending code and repaste it in the same spot the errors temporarily go
away. Also, more effective is to delete the files in project/bin and
rebuild. Both fixes work temporarily.

When these errors aren't displayed, the project builds find and runs fine,
but when the errors are being displayed, it won't build.

Please somebody post an answer. This has been a frequent hassle and I
have
searched extensively for answers without luck.

Thank You,
Jon


Nov 21 '05 #3
Lots o' times :-[

Restarting the IDE usually clears it up for me!
"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:3B**********************************@microsof t.com...
I am constantly getting reports in my task list like these:

* 'someObjectName" is not a member of 'someOtherObjectName'
* Handles clause requires a WithEvents variable.
* Name 'someName' is not declared

These errors are totally erroneous. If I go into the class and cut the
offending code and repaste it in the same spot the errors temporarily go
away. Also, more effective is to delete the files in project/bin and
rebuild. Both fixes work temporarily.

When these errors aren't displayed, the project builds find and runs fine,
but when the errors are being displayed, it won't build.

Please somebody post an answer. This has been a frequent hassle and I
have
searched extensively for answers without luck.

Thank You,
Jon

Nov 21 '05 #4
Jon
I also wanted to add to this question that I find it strange that Microsoft
has not released a lot updates to Visual Studio.NET. Am I missing something?

VS.NET 2002 had so many problems that they rushed 2003 out right away. Just
for the record, 2003 needs some fixes too.

Nov 21 '05 #5
Hi Jon

Do you have multiple projects in your solution, and, if so, do one or more
projects reference any of the other projects?

The problem you describe can occur when you reference other projects in your
solution by browsing to the project's output dll, rather than selecting from
the Projects tab in the Add Reference dialogue.

I used to get this problem frequently until I changed my method of
referencing other projects (on the suggestion of Microsoft tech support). I
haven't had the problem once since.

One other thing to add: check that you don't have a circular reference. The
IDE prevents direct, one-to-one circular references, but it is possible for
project A to reference B, B to reference C, and C to reference A. Apart from
being bad coupling, this can also through VS into a spin.

HTH

Charles
"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:3B**********************************@microsof t.com...
I am constantly getting reports in my task list like these:

* 'someObjectName" is not a member of 'someOtherObjectName'
* Handles clause requires a WithEvents variable.
* Name 'someName' is not declared

These errors are totally erroneous. If I go into the class and cut the
offending code and repaste it in the same spot the errors temporarily go
away. Also, more effective is to delete the files in project/bin and
rebuild. Both fixes work temporarily.

When these errors aren't displayed, the project builds find and runs fine,
but when the errors are being displayed, it won't build.

Please somebody post an answer. This has been a frequent hassle and I
have
searched extensively for answers without luck.

Thank You,
Jon

Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mark Preuss | last post by:
Hi all, Anybody seen where if after a Build with errors the Task List won't pop up when you click on the tab? I have to shut down the whole IDE to get it to come up. This is in VS.NET 2003. I...
0
by: Igor | last post by:
Hi all! As many of you, I have a big VB.NET solution and quite often get bogus build errors out of the blue. This isn't declared, that is not a property of some shit and so on... It's very...
1
by: alfi | last post by:
My current project is showing 122 things in the task list and I have to sift through all this chaff until I find the one or two things that are actually errors. Is there a way that it only...
2
by: AP | last post by:
Hi, After a compile, if there are errors, the task list window pops up automatically. This is annoying. I'm happy with the error list in the output window like VC++ 6. So is there an option or...
7
by: Nick | last post by:
I am new to Visual Studio - VB.NET, and have debugged a new application to the point where I do not get any more errors listed on the task list, but the build still fails. Obviously there must be...
0
by: Chris Dunaway | last post by:
I use 'TODO's to add items to the task list to remind me of things that I need to do. I right click the task list and choose Show Tasks > All so that all items are shown. This works fine. ...
0
by: Richard Lewis Haggard | last post by:
Does anyone know what's going on? The Task List in a project doesn't seem to be getting completely refreshed. It is holding on to error items that have long since been fixed. C# 2003 Solution...
9
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you can't reopen database after exiting as a result...
17
by: trose178 | last post by:
Good day all, I am working on a multi-select list box for a standard question checklist database and I am running into a syntax error in the code that I cannot seem to correct. I will also note...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.