473,326 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Compiler errors due to temp file inconsistencies ??


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.
Nov 21 '05 #1
2 1557
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.

Nov 21 '05 #2
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.

Nov 21 '05 #3

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

Similar topics

0
by: Joonas Paalasmaa | last post by:
Hi, When compiling Sketch's streamfilter C extension the errors below are raised during linking. What could cause the errors? (Python 2.3, MinGw 1.1 with GCC 2.95.3-6, Windows 98) Here are...
11
by: Alf P. Steinbach | last post by:
// As usual the error message directs one to the report the bug. // // And as usual there is absolutely no way to do so without paying for // the privilege... // // Or using three or four hours...
4
by: Christopher M. Lusardi | last post by:
Hello, Can I run the subject line program using CC instead of cc? I attempted to use the "-c" option and it told me things were undefined. Isn't this CC option the same as the cc -c option? ...
1
by: Hafeez | last post by:
I am having real trouble compiling this code http://www.cs.wisc.edu/~vganti/birchcode/codeHier/AttrProj.tgz The attachment shows errors when compiled using the current version of g++ in a...
0
by: Jeff Dillon | last post by:
When I browse to a simple .aspx page, I get the error: Unable to create temp file in path 'c:\windows\system32\inetsrv\%SystemRoot%\TEMP\': The directory name is invalid. My TEMP variable is...
7
by: Nena | last post by:
Hi there, I'm trying to include the Numerical Recipes for C++ for the Dev-C++ Editor Version. But so far I've failed. Therefore I've copied all head-files (for example nr.h) into the folder...
2
by: shk253 | last post by:
Hi all - The following is the code for one of my functions in a program but the compiler is reporting errors. I've also tried declaring the variable temp within the function but the number of errors...
0
by: Grant Edwards | last post by:
I've got a system where I try to install extensions using /usr/local/bin/python setup.py install But, it fails when it tries to use a non-existant compiler path and specs file. I suspect it's...
6
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.