469,934 Members | 2,763 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,934 developers. It's quick & easy.

F5 is running an older version of my project

When I run my project (F5), it runs an older version of my project.
However, when I build or rebuild the solution, it builds flawlessly...
so shouldn't this overwrite the older version of my project so that F5
runs the newer version?

Is there a way to clear the older versions (other than deleting the
files manually) and is there something I am doing wrong? I want to
prevent this from happening, as it makes debugging quite confusing!

Titan

Mar 8 '07 #1
3 1535
By the way, deleting the files manually works.

I shut down MSVC# 2005, manually deleted the files, and re-opened the
editor and my project, and F5 properly compiled and ran my project up-
to-date.

I just wanted to know if there's a better way to solve (or avoid) this
problem.

Titan
Mar 8 '07 #2
Hi Titan,

rebuild should do it.
There are some rare cases, when build doesn't build all what is needed. E.g.
in V2003 (don't know about VS2005) when the only changes of a project are
made are in a resx-file, build doesn't build that project though it should.
Then a rebuild works.

Christof

"Titan" <ti***********@yahoo.comschrieb im Newsbeitrag
news:11**********************@s48g2000cws.googlegr oups.com...
When I run my project (F5), it runs an older version of my project.
However, when I build or rebuild the solution, it builds flawlessly...
so shouldn't this overwrite the older version of my project so that F5
runs the newer version?

Is there a way to clear the older versions (other than deleting the
files manually) and is there something I am doing wrong? I want to
prevent this from happening, as it makes debugging quite confusing!

Titan

Mar 8 '07 #3
On Mar 8, 12:38 pm, "Christof Nordiek" <c...@nospam.dewrote:
Hi Titan,

rebuild should do it.
There are some rare cases, when build doesn't build all what is needed. E.g.
in V2003 (don't know about VS2005) when the only changes of a project are
made are in a resx-file, build doesn't build that project though it should.
Then a rebuild works.

Christof

"Titan" <titan.nyqu...@yahoo.comschrieb im Newsbeitragnews:11**********************@s48g2000c ws.googlegroups.com...
When I run my project (F5), it runs an older version of my project.
However, when I build or rebuild the solution, it builds flawlessly...
so shouldn't this overwrite the older version of my project so that F5
runs the newer version?
Is there a way to clear the older versions (other than deleting the
files manually) and is there something I am doing wrong? I want to
prevent this from happening, as it makes debugging quite confusing!
Titan- Hide quoted text -

- Show quoted text -
I would have thought a rebuild would work when the build did not, but
they both failed. Perhaps this is just an uncommon quirk...

....actually I just realized what may have caused the error! My system
(for some unknown reason) was set two days ahead. It was set to March
10th instead of March 8th. I just set it back today. This system is
only a few days old, and I never noticed the incorrect date until
today. This probably caused the "bug"! Setting the date back
probably confused the editor to think the source files had not changed
because it was determining that on a date comparison, where the last
compile date was March 10th (and therefore files changed today were
determined to not be "new").

Thanks for the help.

Titan

Mar 8 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by MDGColorado | last post: by
1 post views Thread by Claudia Fong | last post: by
1 post views Thread by Shawn Ferguson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.