473,396 Members | 1,864 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,396 software developers and data experts.

Minimal rebuilds

Hi,

We've got two developers working on the same mixed C++ project, using .SLN
and .CPROJ project file (i.e. with identical configurations) on two
different VS .NET 2003. The project files are in CVS. On one machine if you
don't change anything between builds, the compiler recognises this. If you
change one file, it just compiles the minimum necessary. On the other
machine, it's doing a nearly complete rebuild even if NO files have changed.

This is a bit of an annoyance, and I can't figure it out. I've tried
deleting the .IDB file and VC dutifully rebuilt it but it doesn't seem to be
using it. I did notice that with the compiler /clr option you can't also
specify Enable Minimum Rebuild, but I still don't understand how this
behaviour could happen on one machine and not the other.

Any help greatly appreciated.

Steve
Nov 17 '05 #1
6 1244
Check to clock on both machines.
"Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi,

We've got two developers working on the same mixed C++ project, using .SLN
and .CPROJ project file (i.e. with identical configurations) on two
different VS .NET 2003. The project files are in CVS. On one machine if you don't change anything between builds, the compiler recognises this. If you
change one file, it just compiles the minimum necessary. On the other
machine, it's doing a nearly complete rebuild even if NO files have changed.
This is a bit of an annoyance, and I can't figure it out. I've tried
deleting the .IDB file and VC dutifully rebuilt it but it doesn't seem to be using it. I did notice that with the compiler /clr option you can't also
specify Enable Minimum Rebuild, but I still don't understand how this
behaviour could happen on one machine and not the other.

Any help greatly appreciated.

Steve

Nov 17 '05 #2
They're both right. In any case, that shouldn't matter - hitting Ctrl +
Shift + B twicde in succession (allowing for the build time) causes two
rebuilds, even if absolutely no changes (either locally or through a CVS
checkout). There's no automatic CVS stuff going on; none of the files on
disk have changed. It's all very puzzling.

Steve

"Richard Otter" <so***@yahoo.com> wrote in message
news:uR*************@TK2MSFTNGP10.phx.gbl...
Check to clock on both machines.
"Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi,

We've got two developers working on the same mixed C++ project, using ..SLN and .CPROJ project file (i.e. with identical configurations) on two
different VS .NET 2003. The project files are in CVS. On one machine if you
don't change anything between builds, the compiler recognises this. If you change one file, it just compiles the minimum necessary. On the other
machine, it's doing a nearly complete rebuild even if NO files have

changed.

This is a bit of an annoyance, and I can't figure it out. I've tried
deleting the .IDB file and VC dutifully rebuilt it but it doesn't seem

to be
using it. I did notice that with the compiler /clr option you can't also
specify Enable Minimum Rebuild, but I still don't understand how this
behaviour could happen on one machine and not the other.

Any help greatly appreciated.

Steve


Nov 17 '05 #3
I've checked the clock, and they're both being synchronized with the MS time
server every week and are both in the same time zone (GMT with daylight
saving). Is there no other reason this could be happening? A new project
(which isn't in source control, but I don't know if that's important) doen't
have this problem. I guess it'd be worth setting up a new project using
source controlled files and seeing if that's ok.

Steve

"VladFein" <Vl******@discussions.microsoft.com> wrote in message
news:DA**********************************@microsof t.com...
How about the time zone?

"Steve McLellan" wrote:
They're both right. In any case, that shouldn't matter - hitting Ctrl +
Shift + B twicde in succession (allowing for the build time) causes two
rebuilds, even if absolutely no changes (either locally or through a CVS
checkout). There's no automatic CVS stuff going on; none of the files on
disk have changed. It's all very puzzling.

Steve

"Richard Otter" <so***@yahoo.com> wrote in message
news:uR*************@TK2MSFTNGP10.phx.gbl...
Check to clock on both machines.
"Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> We've got two developers working on the same mixed C++ project, using
..SLN
> and .CPROJ project file (i.e. with identical configurations) on two
> different VS .NET 2003. The project files are in CVS. On one machine
if you
> don't change anything between builds, the compiler recognises this. If you
> change one file, it just compiles the minimum necessary. On the
other > machine, it's doing a nearly complete rebuild even if NO files have
changed.
>
> This is a bit of an annoyance, and I can't figure it out. I've tried
> deleting the .IDB file and VC dutifully rebuilt it but it doesn't seem to
be
> using it. I did notice that with the compiler /clr option you can't

also > specify Enable Minimum Rebuild, but I still don't understand how this > behaviour could happen on one machine and not the other.
>
> Any help greatly appreciated.
>
> Steve
>
>


Nov 17 '05 #4
Are one of the source files set to a future date?

"Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi,

We've got two developers working on the same mixed C++ project, using .SLN
and .CPROJ project file (i.e. with identical configurations) on two
different VS .NET 2003. The project files are in CVS. On one machine if you don't change anything between builds, the compiler recognises this. If you
change one file, it just compiles the minimum necessary. On the other
machine, it's doing a nearly complete rebuild even if NO files have changed.
This is a bit of an annoyance, and I can't figure it out. I've tried
deleting the .IDB file and VC dutifully rebuilt it but it doesn't seem to be using it. I did notice that with the compiler /clr option you can't also
specify Enable Minimum Rebuild, but I still don't understand how this
behaviour could happen on one machine and not the other.

Any help greatly appreciated.

Steve

Nov 17 '05 #5
No, not as far as I know. The files have all been checked fresh out of CVS
onto two separate machines with their clocks set very similarly, and on one
VS behaves, on the other it doesn't. We may just set up a new user, and do a
completely fresh checkout and VS install, see if that helps anything. It's a
test machine set up to dual boot XP, so that'd be another option. It's still
a pain, and very puzzling.

Steve

"Matt Osborn" <mosborn@spam_trap.TransomaMedical.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Are one of the source files set to a future date?

"Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi,

We've got two developers working on the same mixed C++ project, using ..SLN and .CPROJ project file (i.e. with identical configurations) on two
different VS .NET 2003. The project files are in CVS. On one machine if you
don't change anything between builds, the compiler recognises this. If you change one file, it just compiles the minimum necessary. On the other
machine, it's doing a nearly complete rebuild even if NO files have

changed.

This is a bit of an annoyance, and I can't figure it out. I've tried
deleting the .IDB file and VC dutifully rebuilt it but it doesn't seem

to be
using it. I did notice that with the compiler /clr option you can't also
specify Enable Minimum Rebuild, but I still don't understand how this
behaviour could happen on one machine and not the other.

Any help greatly appreciated.

Steve


Nov 17 '05 #6
I would definitly check this for sure.

"Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com> wrote in message
news:ek**************@TK2MSFTNGP12.phx.gbl...
No, not as far as I know. The files have all been checked fresh out of CVS
onto two separate machines with their clocks set very similarly, and on one VS behaves, on the other it doesn't. We may just set up a new user, and do a completely fresh checkout and VS install, see if that helps anything. It's a test machine set up to dual boot XP, so that'd be another option. It's still a pain, and very puzzling.

Steve

"Matt Osborn" <mosborn@spam_trap.TransomaMedical.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Are one of the source files set to a future date?

"Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com> wrote in message
news:OR**************@TK2MSFTNGP09.phx.gbl...
Hi,

We've got two developers working on the same mixed C++ project, using .SLN and .CPROJ project file (i.e. with identical configurations) on two
different VS .NET 2003. The project files are in CVS. On one machine if
you
don't change anything between builds, the compiler recognises this. If you change one file, it just compiles the minimum necessary. On the other
machine, it's doing a nearly complete rebuild even if NO files have

changed.

This is a bit of an annoyance, and I can't figure it out. I've tried
deleting the .IDB file and VC dutifully rebuilt it but it doesn't seem

to
be
using it. I did notice that with the compiler /clr option you can't

also specify Enable Minimum Rebuild, but I still don't understand how this
behaviour could happen on one machine and not the other.

Any help greatly appreciated.

Steve



Nov 17 '05 #7

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

Similar topics

2
by: | last post by:
To return a minimal price of a bottle of vodka stored in field "price" I can call MIN function . However this price ignores the size of the bottle. Bottle types and sizes are stored in a...
0
by: Khue Pham | last post by:
Hi All, I'm building an embedded system and in need of bringing mySQL into my embedded controller. Here is what I need: + A minimal mySQL database configuration that supports: -> API for C...
1
by: Tom | last post by:
I need a very, very minimal LaTeX system on Windows. I only need to have the possibility to get DVI files out of my tex files (with minimal fonts). An I need it without any installer (no settings...
9
by: Rune | last post by:
Is it best to use double quotes and let PHP expand variables inside strings, or is it faster to do the string manipulation yourself manually? Which is quicker? 1) $insert = 'To Be';...
8
by: Victor B. Berdin | last post by:
Hi everyone, I'm trying to make PostgreSQL 7.4 to work on a minimal Linux (2.4.22/libc-2.3.1) environment comprised of selected libraries and the latest busybox. So far, the binaries: "initdb",...
0
by: Daniel P. | last post by:
http://danutp.blogspot.com/ Web Services - sharing data between client and server Dealing a lot with web services a friend of mine (Ehsan Samani) and I ran into another issue: when we move...
0
by: las | last post by:
....Working with VS .Net 2003... I have a solution that includes several projects: A core application, several plug-in driver DLL's and a class library. I want to make sure the Class Library...
2
by: BK | last post by:
We have a strange problem that unfortunately occurs without warning or reason. We are using VS 2005. Grids will sporadically resize themselves so that they no longer fit on the form, thereby...
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: 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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.