473,382 Members | 1,650 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,382 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 1558
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.