472,983 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,983 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 1537
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
On 31 Ocak, 13:36, 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?
i think u copy project and build so program debug previous.
u must change project file and then build.

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#...
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: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.