Running a program does not reflect the controls that I have laid out in Visual Studio Designer.

I use Visual Studio 2005 and have setup a Tab control and some textbox controls contained in panels.  When I run the program (I have used the clean code, rebuild and build options several times) it gives me a version of code that I had 1/2 hour ago. As stated I tried saving all, cleaning, rebuilding and building and nothing works.  Then I tried deleting the entire Tab Control with everything in it and it still gives me the old form with outdated controls.

As a side note, at work I use VS Studio 2005 and none of this is happening.

Thanks
LVL 1
James CochraneB2B FINTECH WRITER/Technology WriterAsked:
Who is Participating?
 
der_jthCommented:
You didn't mention if the problem is related to running the app from the VS Debugger (F5) and whether or not it occurs when running from outside the IDE. Try these:

1) Check your project options for any surprises (Project > YourApp Properties... > Debug). Make sure that Start Action is set to "Start project" instead of some hardcoded path to the old exe.

2) Go to your application's directory and wipe the directories called bin and obj. Try again.

3) If #2 fails, recompile the application from scratch and try running the exe directly from the bin\debug directory.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.