VB.net code change is not applied on rebuild
Hi,
I have a vb .net program on visual studio 2005. I modified my code for a bug fix. When I am rebuilding and running the application, it shows me the old version of my program, ie, the new changes are not taken effect. To test more, I changed a Label box text and tried to rebuild the program. The program shown me the screen with the old label text. The change was not affected. I tryed to save the application, close, reopen , unfortunately the same effect. Then I copied the project folder to my other laptop to see if visual studio had anything wrong. But then there also I am facing the same problem.
I deleted the bin folder contents and tryed to rebuild and run, it gave me the same problem.
I think I am trapped.... :(
I need a solution to this problem ASAP as I need to deliver the project to the customer
Any help will be highly appreciated
Many thanks in advance
Ushas Symon
Re: VB.net code change is not applied on rebuild
Did you use conditional complilation instructions? Something like #IF, etc (that starts with #)
Any non-standard compiler settings? Check the folders and the configuration (debug / release). Maybe you have duplicated your solution somehow into different folders?
There must be something you missed or otherwise you'd better start looking for a good exorcist.
Re: VB.net code change is not applied on rebuild
Re: VB.net code change is not applied on rebuild
When you rebuild the solution, do you get any errors?
Re: VB.net code change is not applied on rebuild
Yeah, it doesn't ask you to run the lass successful build, does it?
Re: VB.net code change is not applied on rebuild
clear out your /bin/debug (and release) folder. see if that helps.
-tg
Re: VB.net code change is not applied on rebuild
Re: VB.net code change is not applied on rebuild
Probably I was also thinking about the last solution Mr. cicatrix posted, but then fortunatly I could able to solve the problem by deleting the .exe and .manifest files from the obj/debug and obj/release folders. Earlier I had also emptyed the folders bin/debug and bin/release even though, this didn't make any difference
:wave:
Re: VB.net code change is not applied on rebuild
hope you fixed it. otherwise clear contents of obj\Release