New code behind not working

Discussion in 'Visual Studio' started by TonyMast, Mar 29, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. vs 2002 - win xp - vb

    I have code behind and it works. However I'm trying to edit some code and add some code, anything new does not work.
    It is as if I didn't change any code. But the new code is there. I've done everything i know how to do,to make sure nothing is cache'd and using old files.
    I've coded test code in the load event, I've created new a new button and added response.redirect(http://www.ebay.com) run and click button you can see it making the trip to server but won't run the code. Old code works fine.

    Any suggestions for me?

    Thanks

    Thank you
    Tony
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    make sure you put the latest version of the dll into the bin directory.

    it is a common misconception that changing the .vb/.cs code behind file immediately change the behavior.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. dosn't hitting F5 do that automaticlly?
    I've never had to upload a dll before.

    Thanks

    Thank you
    Tony
     
  4. I deleted the files (dll) that are shown in VS and hit f5 and it must have recreated them and all is well. Thanks for the suggestion.





    Thanks


    Tony


    Thank you
    Tony
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page