Question:
visual studio problem: form does not change?
Darek
2011-03-26 04:17:33 UTC
I have a strange problem with Visual Studio 2010. Everything was working fine.

Now, when I click F5 (start debugging) the application runs, but does not update. E.g. I add a button, or resize the form, or write some code -- when I run it there are no changes. So I'm stick with a two days old version of my program and can't modify it.

I tried saving, resetting, etc. ... nothing helps. Am I missing something here?
Five answers:
?
2011-03-26 05:04:10 UTC
Try using the option on the build menu to rebuild project. Sometimes when your debug version and your build version get out of sync things like this can happen. Especially if you're working with multiple DLLs out of multiple projects.
Mister Answerman
2011-03-26 11:32:36 UTC
Debugging only runs the first macro which is the Form Load (if you have a sub routine to actually load the form. Rather than debugging, try just running (play) the program.



What did you have in the older program that you modified for this one and then you might see the error of your ways.



Edit - I think if you resave the project and the application, as Save As rather than just "Save" it will work with the modifications.



Also, rather than click on the project to open Visual Studio, open VS from the exe then open your project.
Shemeer Oveli
2011-03-26 15:27:57 UTC
Hi,,



I got this same issue many times.. problem is while debugging not every modules loading perfectly..

delete exe and rebuild...





will work....
?
2011-03-26 11:27:56 UTC
Have you tried clicking the little green play button at the top?
Inquirer Online
2011-03-26 11:27:19 UTC
please give more details....



what is the error?



please add some useful details....


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...