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

VS2K5 doesn't compile/execute latest code

I posted this question in vsnet.ide newsgroup about more than a week back but

didn't get any single response yet therefore, reposting again same to several

newsgroups.

When I run my C# WinForms project either by pressing F5 or clicking Start
button on toolbar, it sometimes doesn't execute the currently changed code
and runs previously compiled code and this strange thing happens occasionally
no matter its started in Debug or Release mode.

I have tried all the related options in VS=>Tools =Options =Projects and
Solutions =Build and Run, but problem not solved. Sometimes it compiles the
fresh code and sometimes not so, I can't mention the exact steps to reproduce
the behaviour. This problem happened to me hundreds of times during
development of my current project and there is no doubt in it. The only way I
found to workaround this problem is renming both the "bin" and "obj" folders.
It was so much frustrating because sometimes I am checking the effect of some
code but its actually not compiling it and breakpoints also doesn't work if

old code is running and on breakpoints it says that code is changed... etc.

I had this problem in VS2005 and I was anxiously waiting for final release
of SP1 and recently after upgrading to SP1 the problem is still there as it
is.

Does anybody experienced same problem with VS2K5, and how it can be fixed?

When will MS releases patch to fix it?
Jan 31 '07 #1
3 1153
Because you have posted this to the VB.Net group, did you try it already
with VB.Net?

Cor

"Adil Akram" <Ad*******@discussions.microsoft.comschreef in bericht
news:6B**********************************@microsof t.com...
>I posted this question in vsnet.ide newsgroup about more than a week back
but

didn't get any single response yet therefore, reposting again same to
several

newsgroups.

When I run my C# WinForms project either by pressing F5 or clicking Start
button on toolbar, it sometimes doesn't execute the currently changed code
and runs previously compiled code and this strange thing happens
occasionally
no matter its started in Debug or Release mode.

I have tried all the related options in VS=>Tools =Options =Projects
and
Solutions =Build and Run, but problem not solved. Sometimes it compiles
the
fresh code and sometimes not so, I can't mention the exact steps to
reproduce
the behaviour. This problem happened to me hundreds of times during
development of my current project and there is no doubt in it. The only
way I
found to workaround this problem is renming both the "bin" and "obj"
folders.
It was so much frustrating because sometimes I am checking the effect of
some
code but its actually not compiling it and breakpoints also doesn't work
if

old code is running and on breakpoints it says that code is changed...
etc.

I had this problem in VS2005 and I was anxiously waiting for final release
of SP1 and recently after upgrading to SP1 the problem is still there as
it
is.

Does anybody experienced same problem with VS2K5, and how it can be fixed?

When will MS releases patch to fix it?

Jan 31 '07 #2
If you rebuild the project does it then use the correct code?

Also, do you have any of the Betas (ide or sp) installed?

If you open the solution from another pc does the problem still occur?

Thanks,

Seth Rowe
On Jan 31, 6:36 am, Adil Akram <AdilAk...@discussions.microsoft.com>
wrote:
I posted this question in vsnet.ide newsgroup about more than a week back but

didn't get any single response yet therefore, reposting again same to several

newsgroups.

When I run my C# WinForms project either by pressing F5 or clicking Start
button on toolbar, it sometimes doesn't execute the currently changed code
and runs previously compiled code and this strange thing happens occasionally
no matter its started in Debug or Release mode.

I have tried all the related options in VS=>Tools =Options =Projects and
Solutions =Build and Run, but problem not solved. Sometimes it compiles the
fresh code and sometimes not so, I can't mention the exact steps to reproduce
the behaviour. This problem happened to me hundreds of times during
development of my current project and there is no doubt in it. The only way I
found to workaround this problem is renming both the "bin" and "obj" folders.
It was so much frustrating because sometimes I am checking the effect of some
code but its actually not compiling it and breakpoints also doesn't work if

old code is running and on breakpoints it says that code is changed... etc.

I had this problem in VS2005 and I was anxiously waiting for final release
of SP1 and recently after upgrading to SP1 the problem is still there as it
is.

Does anybody experienced same problem with VS2K5, and how it can be fixed?

When will MS releases patch to fix it?

Jan 31 '07 #3
SP-1 for Visual Studio 2005 is final.

Robin S.
---------------------------------------------------
"Adil Akram" <Ad*******@discussions.microsoft.comwrote in message
news:6B**********************************@microsof t.com...
>I posted this question in vsnet.ide newsgroup about more than a week back
but

didn't get any single response yet therefore, reposting again same to
several

newsgroups.

When I run my C# WinForms project either by pressing F5 or clicking Start
button on toolbar, it sometimes doesn't execute the currently changed
code
and runs previously compiled code and this strange thing happens
occasionally
no matter its started in Debug or Release mode.

I have tried all the related options in VS=>Tools =Options =Projects
and
Solutions =Build and Run, but problem not solved. Sometimes it compiles
the
fresh code and sometimes not so, I can't mention the exact steps to
reproduce
the behaviour. This problem happened to me hundreds of times during
development of my current project and there is no doubt in it. The only
way I
found to workaround this problem is renming both the "bin" and "obj"
folders.
It was so much frustrating because sometimes I am checking the effect of
some
code but its actually not compiling it and breakpoints also doesn't work
if

old code is running and on breakpoints it says that code is changed...
etc.

I had this problem in VS2005 and I was anxiously waiting for final
release
of SP1 and recently after upgrading to SP1 the problem is still there as
it
is.

Does anybody experienced same problem with VS2K5, and how it can be
fixed?

When will MS releases patch to fix it?

Jan 31 '07 #4

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

Similar topics

149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
4
by: Adrian Parker | last post by:
I have a web app that has one problem when deployed on win2003 but works fine on win2k. On a page, I have a button that causes a reload of the page with a different set of querystring values (to...
0
by: Quantum | last post by:
Hi there, I've got a VS2K5 project in the folder: c:\BigProject\Windows\ However, I've got all the source in this folder: c:\BigProject\Independent\
4
by: SteveW | last post by:
Now that vista and the 3.0 framework are gold, I'm a bit confused, so any clarification would be very helpful. The 3.0 framework is gold and is downloadable etc. What is not 'gold' and...
1
by: OlafMeding | last post by:
How do I compile omniORBpy 3.0 on Windows? The readme.txt file seems to talk only about how to do this on Unix. Unfortenuately, I can not use the binary because I need to use Python 2.3.5. (and...
4
by: abracadabra | last post by:
Hi all. I am working on some string manipulation, and I want the passed in string pointer to be checked. So I use "assert" to assure that. But the C compiler of Visual Studio 2005 fails to compile...
10
by: Sourcerer | last post by:
I wrote this very simple code in .NET VC++. I compiled it on my system, and tried to run it on my friend's computer (he doesn't have the compiler). We both have Windows XP Professional. I have .NET...
3
by: =?Utf-8?B?QWRpbCBBa3JhbQ==?= | last post by:
I posted this question in vsnet.ide newsgroup about more than a week back but didn't get any single response yet therefore, reposting again same to several newsgroups. When I run my C#...
4
by: jram01 | last post by:
Hi Folks, I am facing problem to to execute .sql command in sql prompt using perl script. I am able to connect sql promt using " my $odbcinput = "odbcinput.txt"; my...
8
by: Ross Culver | last post by:
I'm about to get a new computer for VS2K5 development. Is it ok to get Vista yet or should I stick with XP? Thanks, Ross
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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
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...

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.