Visual Studio 2015:程序已过期 [英] Visual Studio 2015: Program out of date

查看:598
本文介绍了Visual Studio 2015:程序已过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用VS2015 RC,直到7月19日,然后卸载并随后安装了VS2015社区(正式发行版).我能够在VS2015 RC上成功调试和运行C ++程序,但是,当我现在尝试运行过去已成功调试的任何简单程序或任何新程序时,VS2015社区给我一个弹出窗口,内容为:项目已过期.ProjectName-调试Win32.您要构建它吗?"

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?"

我一直在研究SO,发现了这一点: Visual Studio Project已过期,但是即使删除了所有.tlog文件,我仍然遇到相同的问题.我还删除了所有.pdbs,但这也无济于事.有人知道可能会解决吗?谢谢!

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!

推荐答案

您可以更改生成输出的详细程度设置,以使Visual Studio 2015告诉您为什么要重建:

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

  1. 构建解决方案
  2. 将MSBuild项目生成的输出详细程度设置更改为"详细"或诊断".在这里找到:

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

  • 工具(菜单)
  • 选项
  • 项目和解决方案
  • 构建并运行

构建解决方案并检查输出"视图.

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.

这篇关于Visual Studio 2015:程序已过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆