Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Project is being developed in: visual studio 2008 using c#.

There is a Windows form with : 14 buttons 1 tab control 5 panels 1 picture box

at this level application was running successfully. recently i added 3 more buttons to the form. still the application is running but recently added 3buttons and recent changes are not showing at runtime.

(these controls are not set to hidden and are appearing in designer code and one more thing, it is happening with all forms and not showing my recent changes only, remaining all controls are working fine.)

I hope somebody will give exact answer. Any experienced .net developer might have experienced this problem.
Posted
Comments
Richard MacCutchan 21-Sep-13 6:10am    
Exact answer: check your project is rebuilding properly, and use your debugger to see where the controls are.

1 solution

We can't give an exact answer, because we can't see exactly what is going on - there are a lot of possible reasons for this.
There are a couple of things you need to check:
1) Did your code compile cleanly after the latest changes? If it didn't then no EXE file will be produced, so no changes will show up in the application. This includes all projects in a solution if you use more than one.
2) Is the EXE file in use (i.e. is it being executed) when you compiled? If so, then it can't be overwritten and the build will fail.
3) Are you building the same version as you are testing? I.e. Is your build set to Release and you testing against the Debug version (or vice versa)?

Check those, and if that doesn't help try this:
1) On the Build menu, select "Clean solution"
2) On the Build menu, select "Rebuild solution"
This should get rid of intermediate files and rebuild your whole solution from scratch.

Start there and see what happens.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900