Code changes are not included when compiling in Visual C # Express 2010

In seemingly random times, whenever I load VC # Express in a day and start working, any changes that I make to my code are not reflected in my debugging launches. It is as if VC simply refuses to compile the code and simply launches the old already compiled version. Deleting the bin folder in the project directory does not help, because then VC simply complains that it cannot find * .exe instead of recompiling. Performing a rebuild helps, but only in order to rebuild, so I constantly have to rebuild the solution to see any changes that are very slow.

The only way to get rid of this problem (maybe in a week or two) is to create a new project and manually copy my code. Needless to say, this is really frustrating and tiring. Is this a documented issue? What can be done to fix this? Searching the Internet does not cause any answers, as the search terms that are most applicable to this problem cause a lot of noise.

+4
source share
3 answers

You may see if the project you are working on will install Build when creating the solution. To verify this, right-click your solution and select Properties. Click the node configuration properties on the left and make sure that all the projects you want to create are checked on the ride side for this type of assembly.

UPDATE:. What is the timestamp of your build files? Is the timestamp in your assembly updated?

+2
source

I had this problem when working on a network drive, and the time on the server did not synchronize. Linux + Samba is accessed using Win7 Pro and VB 2010 Express.

Correcting the time difference solved the problem.

0
source

click on BUILD → REBUILD SOLUTION and now you can go

-1
source

All Articles