473,396 Members | 2,037 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.

First file in C++ project always being rebuilt

I have been running .NET 2003 for some time now. I have been working on
the same C++ project for about a year now. All of a sudden, the first
file in the project is being built every time I build the project. I
tried deleting all of the OBJ files. I removed and re-added the
offending file which moved it (temporarily) to the bottom of the list
and the next file in the list was being recompiled every time. When I
reopened the project, the original problem file moved to the top of the
list and went back to being rebuilt every time the project was built.

I tried cleaning the project.

Any other ideas what I can try? This is annoying.


--
Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com
Nov 15 '06 #1
4 1196
Hello nospam,

Check the data/time of your file. Probably it differs from the current time

nI have been running .NET 2003 for some time now. I have been working
non the same C++ project for about a year now. All of a sudden, the
nfirst file in the project is being built every time I build the
nproject. I tried deleting all of the OBJ files. I removed and
nre-added the offending file which moved it (temporarily) to the
nbottom of the list and the next file in the list was being recompiled
nevery time. When I reopened the project, the original problem file
nmoved to the top of the list and went back to being rebuilt every
ntime the project was built.
n>
nI tried cleaning the project.
n>
nAny other ideas what I can try? This is annoying.
n>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Nov 15 '06 #2
Michael Nemtsev wrote:
Hello nospam,

Check the data/time of your file. Probably it differs from the current time
I should have mentioned that I tried that. I even purposely edited the
file and saved it. Besides it is always the first file in the project.
If I remove it from the project and add it again, it becomes the last
file in the list. The new first file in the list (second before the
removal) gets recompiled over and over.

--
Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com
Nov 16 '06 #3
We had similiar problems but in our case the solution was quite easy: the
first project was opened over a network drive / share and in the second case
it was located inside an encrypted folder.

"nospam" <no****@nospam.comwrote in message
news:cXP6h.1337$8u1.663@trndny04...
Michael Nemtsev wrote:
>Hello nospam,

Check the data/time of your file. Probably it differs from the current
time

I should have mentioned that I tried that. I even purposely edited the
file and saved it. Besides it is always the first file in the project. If
I remove it from the project and add it again, it becomes the last file in
the list. The new first file in the list (second before the removal) gets
recompiled over and over.

--
Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com

Nov 16 '06 #4
Dr. Jochen Manns wrote:
We had similiar problems but in our case the solution was quite easy: the
first project was opened over a network drive / share and in the second case
it was located inside an encrypted folder.
No not the case here. And it is the first file in the project that is
being compiled. Not the first project in the solution. There is only
one project in the solution.

--
Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com
Nov 16 '06 #5

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

Similar topics

2
by: LP | last post by:
Hi, I have a site which runs on .Net technology. The site is already deployed and running. I need to change 1 file for some small enhancement. Please tell me, how can I compile that 1 file and...
6
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to...
14
by: Sin | last post by:
I've tried everything and I've come to the conclusion that I'm screwed. If anyone can help, I would be eternaly greatful. I have a solution which has 47 projects.. This is includes (very roughly)...
1
by: TT (Tom Tempelaere) | last post by:
Hi people We have a strange (unexpected) problem with our application configuration file. When we place the config file in the same directory as the assembly it is deleted when we build our...
0
by: PCK | last post by:
Thanks in advance for any help.... I have an application that uses the Session_End to perform some data access against our database. This works as expected when a session times out. However,...
7
by: tshad | last post by:
I have a problem with a VS 2003 project. This project was designed and works fine in VS 2003. But trying to open the project I get the following error....
2
by: semedao | last post by:
Hi All, I developed Outlook add-in with VS 2005 , everything work fine , until the machine reboot unnormally , when I opened the solution again many projects was not there ! (I have more then...
2
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the...
3
by: =?Utf-8?B?UGF1bCBIYWxl?= | last post by:
Moving all User Controls to a single directory has solved my problem - Thanks Eliyahu. That said, I still got one Circular ref error yesterday, rebuilt again and the build was fine? Far far...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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,...
0
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...

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.