Changes that were made to a Form in Design are not taking effect when running the form

Simon 466 Reputation points
2024-01-08T23:24:17.23+00:00

A form was originally designed with tab controls. Then I decided to change the form and remove the tabs, and replace it with panels. I also moved around certain controls and adjusted the placement of some of the controls.

In Design everything looks perfect, but when I run the Form, it shows the old tab control that was completely removed. It runs with the old look, the way it was before I changed things. Why are these changes not taking effect when running the Form? It looks like somewhere in a temp file, there's a snapshot of the old version of the Form that is displaying at runtime. Can you help me find it and solve this strange problem?

Developer technologies | Visual Studio | Debugging
{count} votes

2 answers

Sort by: Most helpful
  1. José Pablo Ramirez (a. k. a. webJose) 440 Reputation points
    2024-01-08T23:26:01.3233333+00:00

    Delete the obj and bin folders as it may be running an old compilation.

    1 person found this answer helpful.
    0 comments No comments

  2. Simon 466 Reputation points
    2024-01-09T13:13:34.11+00:00

    Delete the obj and bin folders as it may be running an old compilation.

    thanks a milion it is good now

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.