Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015: Program out of date

I've been using VS2015 RC until July 19th, then uninstalled and subsequently installed VS2015 Community (the official release). I was able to successfully debug and run C++ programs on VS2015 RC, but however, when I now try to run any simple program that I have successfully debugged in the past or any new one, VS2015 Community gives me a popup that says: "This project is out of date. ProjectName - Debug Win32. Would you like to build it?"

I've been on SO and found this: Visual Studio Project out of date, but even after deleting all the .tlog files, I've still been getting the same issue. I've also deleted all the .pdbs, but that hasn't helped either. Does anyone know what a fix might be? Thanks!

like image 272
JXX Avatar asked Jul 21 '15 19:07

JXX


1 Answers

You can change the build output verbosity setting to make Visual Studio 2015 tell you why it is rebuilding:

  1. Build the solution
  2. Change MSBuild project build output verbosity setting to Detailed or Diagnostics. It's found here:

    • Tools (menu)
    • Options
    • Project and Solution
    • Build and Run
  3. Build the solution and check the Output view.

In my case it printed a message like this:

1>------ Up-To-Date check: Project: xyz, Configuration: xyz ------
1>Project not up to date because build input 'C:\ws\Missing.h' is missing.

... and removing that header from the project fixed the problem.

like image 148
CrouZ Avatar answered Nov 06 '22 19:11

CrouZ