Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Visual Studio won't Rebuild [modified]

Visual Studio won't Rebuild [modified]

Scheduled Pinned Locked Moved Visual Studio
announcementcsharpvisual-studiohardwaredebugging
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Trevortni
    wrote on last edited by
    #1

    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

    R 1 Reply Last reply
    0
    • T Trevortni

      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

      R Offline
      R Offline
      rpjohnst
      wrote on last edited by
      #2

      I had the same problem. It turned out that the build option for my main project was unchecked in the Configuration Manager (right-click solution -> configuration manager).

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups