Results 1 to 9 of 9

Thread: VB.net code change is not applied on rebuild

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2010
    Posts
    3

    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

  2. #2
    PowerPoster cicatrix's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,654

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2010
    Posts
    3

    Re: VB.net code change is not applied on rebuild

    How do I check that?

  4. #4
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: VB.net code change is not applied on rebuild

    When you rebuild the solution, do you get any errors?
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  5. #5

  6. #6
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: VB.net code change is not applied on rebuild

    clear out your /bin/debug (and release) folder. see if that helps.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  7. #7

  8. #8

    Thread Starter
    New Member
    Join Date
    Feb 2010
    Posts
    3

    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


  9. #9
    New Member
    Join Date
    Feb 2010
    Posts
    1

    Re: VB.net code change is not applied on rebuild

    hope you fixed it. otherwise clear contents of obj\Release

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width