Visual Studio won't Rebuild [modified]
-
I've been having a problem with a project recently. Previously, everything worked fine with it, but now, when I try to rebuild the solution, it goes through the rebuild, claims to succeed - but the final executable is unchanged. There are multiple projects in this solution. I have confirmed that the intermediates from the relevant projects are building correctly; the mobile device CABs work when I manually put them on the handheld they are written for; but the final executable in which these CABs ultimately get embedded still installs the old versions of the CABs. On further inspection, it appears that NO changes are carrying through to this final executable. The build numbers are set to auto-increment, but have been outputting the same build numbers all week. I even put a MsgBox in the New() function of the Main Form, and the dialog box does not appear when I run the final executable. The solution does build and run as expected in Debug; it's only in Release mode that Visual Studio refuses to change anything. And deleting all the intermediate files from the obj and bin folders does nothing to get it to build correctly - it still somehow builds the old version. Does anyone have any idea what might be going on here? Thank you. CORRECTION: Debug doesn't Rebuild now either.
modified on Tuesday, April 14, 2009 5:30 PM
-
I've been having a problem with a project recently. Previously, everything worked fine with it, but now, when I try to rebuild the solution, it goes through the rebuild, claims to succeed - but the final executable is unchanged. There are multiple projects in this solution. I have confirmed that the intermediates from the relevant projects are building correctly; the mobile device CABs work when I manually put them on the handheld they are written for; but the final executable in which these CABs ultimately get embedded still installs the old versions of the CABs. On further inspection, it appears that NO changes are carrying through to this final executable. The build numbers are set to auto-increment, but have been outputting the same build numbers all week. I even put a MsgBox in the New() function of the Main Form, and the dialog box does not appear when I run the final executable. The solution does build and run as expected in Debug; it's only in Release mode that Visual Studio refuses to change anything. And deleting all the intermediate files from the obj and bin folders does nothing to get it to build correctly - it still somehow builds the old version. Does anyone have any idea what might be going on here? Thank you. CORRECTION: Debug doesn't Rebuild now either.
modified on Tuesday, April 14, 2009 5:30 PM