Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello,
I'm using Microsoft Visual C# 2010 Express and my problem is that because every change i made in my code doesn't work in the run. For example i add function onclick on button and write inside for ex. MessageBox.Show("test"); and nothing happens. I had this problem before but i was solving using CTRL+SHIFT+B multiple times, but now it doesnt solve this problem.... What to do?
Thanks
Posted
Comments
DamithSL 14-Nov-14 19:21pm    
is this windows form project? put break point on start line on your click event and press F5, now click on the button and check whether debugger hit on that line or not

Are you sure your project is actually compiling? Check your solution build configuration and make sure the build check box is ticked.

It's under BUILD > Configuration Manager...
 
Share this answer
 
v2
I deleted obj and bin folders, than i open my project and run it again... it worked
Thanks for all replies
 
Share this answer
 
Comments
PIEBALDconsult 14-Nov-14 19:42pm    
Please don't answer your own question.
PIEBALDconsult 14-Nov-14 19:42pm    
In the future try Rebuild.
DamithSL 14-Nov-14 22:03pm    
why not?

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



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