VStudio .net acts weird with C#

Discussion in 'Trading Software' started by bungrider, Oct 29, 2003.

  1. man, i totally deleted all the code from an event handler and replaced it with buggy code, and it's giving me build errors (as it should) but when the form loads, it acts as if the old code that i DELETED is still running...to make a long story short, i initially had a button simply display the number 2 when clicked, then i replaced it with code to generate a random number (which i haven't debugged yet because i'm here writing this) when the button is clicked, deleted that code to display 2, and it still displays 2 when i click the button.

    this isn't the first time this has happened...am i missing something here??
     
  2. How can you run it if you are getting build errors?
     
  3. the form and its controls load OK even if there are bugs in the event handlers for those controls...
     
  4. so you're programming ASP.net and not Windows Forms?
     
  5. TraderD

    TraderD


    I think you might be seeng a real bug. The link between source and generated artifacts gets lost. If you know where the artifacts are generated to, try deleting them. I do not know your proficiency level, sorry if the comment is too obvious.