PC Review


Reply
Thread Tools Rate Thread

Compiler errors due to temp file inconsistencies ??

 
 
Samuel R. Neff
Guest
Posts: n/a
 
      7th Apr 2005

Within the past few weeks we've been getting a lot of compiler errors
in two classes when no errors actually exist. The error always
reports as

Name '_stepResizeRelocator' is not declared.

Where _stepResizeRelocator is an instance (class level) variable.
There is no compiler error on the declaration of the variable, only on
use. Tthe name of the variable which causes the error changes.

If we choose "Rebuild Solution" then the errors go away, but when we
choose "Build Solution" or "Start" the compiler errors are present.

We can fix the errors by closing VS.NET and deleting the vbc*.tmp
files.

Any suggestions on what can be causing these errors and how we can
correct them (without having to close vs.net and delete temp files
manually)?

We're using VS.NET 2003 and VB.NET WinForms. The solution has seven
projects in it all controlled through VSS. 4 person team. We all get
the same type of errors with same work-around and are all running XP
Pro.

We only have this problem in two files (one extends the other) which
is one of the DLL's and is a user control.

We're using Infragistics controls and one of my co-workers thinks that
may be related, but we don't have the problem in other classes that
use Infragistics controls (however, these classes are the only ones
that use their Grid).

Thanks,

Sam



B-Line is now hiring one Washington D.C. area VB.NET
developer for WinForms + WebServices position.
Seaking mid to senior level developer. For
information or to apply e-mail resume to
sam_blinex_com.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?QU1lcmNlcg==?=
Guest
Posts: n/a
 
      7th Apr 2005
I have the same problem in a 2003 .net VB project that has about 30 classes.
F5 (run) gives compiler errors, Build gives the same, and Rebuild works fine.
One small edit change and the problem comes back. I think we have both
walked into the same MS bug wherein MS doesn't quite get all of the work done
in the right order in a build, but rebuild works fine. In these forums, I
asked for a way to tell the .net IDE to treat all builds as rebuilds - got no
response. My workaround is to do a lot of rebuilds which is not too painful
because my projects are smallish. My instincts tell me Infragistics is not
related to your problem. I believe it is entirely internal to MS
build/rebuild logic. I only have this problem in one project - the biggest
one.




"Samuel R. Neff" wrote:

>
> Within the past few weeks we've been getting a lot of compiler errors
> in two classes when no errors actually exist. The error always
> reports as
>
> Name '_stepResizeRelocator' is not declared.
>
> Where _stepResizeRelocator is an instance (class level) variable.
> There is no compiler error on the declaration of the variable, only on
> use. Tthe name of the variable which causes the error changes.
>
> If we choose "Rebuild Solution" then the errors go away, but when we
> choose "Build Solution" or "Start" the compiler errors are present.
>
> We can fix the errors by closing VS.NET and deleting the vbc*.tmp
> files.
>
> Any suggestions on what can be causing these errors and how we can
> correct them (without having to close vs.net and delete temp files
> manually)?
>
> We're using VS.NET 2003 and VB.NET WinForms. The solution has seven
> projects in it all controlled through VSS. 4 person team. We all get
> the same type of errors with same work-around and are all running XP
> Pro.
>
> We only have this problem in two files (one extends the other) which
> is one of the DLL's and is a user control.
>
> We're using Infragistics controls and one of my co-workers thinks that
> may be related, but we don't have the problem in other classes that
> use Infragistics controls (however, these classes are the only ones
> that use their Grid).
>
> Thanks,
>
> Sam
>
>
>
> B-Line is now hiring one Washington D.C. area VB.NET
> developer for WinForms + WebServices position.
> Seaking mid to senior level developer. For
> information or to apply e-mail resume to
> sam_blinex_com.
>

 
Reply With Quote
 
Peter Huang [MSFT]
Guest
Posts: n/a
 
      8th Apr 2005
Hi Samuel,

Based on my test, it is hard to reproduce the problem.
Can you provide a reproduce project and send to by removing "online" from
my email?

So that we can try to reproduce the problem on my side and try to
troubleshooting the issue.

Also from your description, it seems that you have found a workaround while
you need to know the root cause and want a solution.
If so, I think you would better submit a Service Request to MSPSS which
will do dump analysis or live debugging on your machine so as to collection
enough information to troubleshooing the problem.

You may reach MSPSS via the link below.
http://support.microsoft.com

BTW: If we confirm this is an issue in our product, the support incident
fee will be refund.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking excel for errors/inconsistencies markx Microsoft Excel Worksheet Functions 1 23rd Feb 2005 03:13 PM
fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148) PufferFish Microsoft VC .NET 10 6th Aug 2004 10:33 PM
Temp File Location for Compiler Jeff Dillon Microsoft VB .NET 0 11th May 2004 12:42 AM
Temp File Location for VBNET Compiler Jeff Dillon Microsoft Dot NET Framework 0 10th May 2004 11:24 PM
Temp File Location for VBNET Compiler Jeff Dillon Microsoft ASP .NET 0 10th May 2004 11:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:01 PM.