VS2K5 doesn't compile/execute latest code

G

Guest

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?
 
C

Cor Ligthert \(MVP\)

Because you have posted this to the VB.Net group, did you try it already
with VB.Net?

Cor
 
R

rowe_newsgroups

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top