Visual Studio 2019 始终运行旧版本代码 [英] Visual Studio 2019 Always run OLD version code

查看:92
本文介绍了Visual Studio 2019 始终运行旧版本代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了很多在 google 上搜索到的东西.

I tried many things that searched on google.

我拥有的清单.

  1. 项目 ->属性 ->调试 ->调试 = 自动
  2. 构建 ->配置管理器 ->勾选 OK BUILD"选项(我还检查了解决方案平台和配置.)
  3. 工具 ->选项 ->构建与运行 ->始终构建.并取消选中刚刚启动项目"依赖"

这些就是我为构建每个按 F5 所做的工作.

Those are what I did to build every pressing F5.

它不起作用.即使我重新启动计算机或 Visual Studio.

It doesn't work. even though I restart computer or visual studio.

我该怎么办?

ps.我的项目是 Visual Studio C++(空)

ps. My Project is Visual Studio C++ (Empty)

推荐答案

我遇到了同样的问题.寻找了几天,但最终我找到了解决方案.第一步是完全删除Visual Studio(安装程序也是如此,是的),然后重新安装.这次检查常规选项"而不是推荐用于 C++";在安装开始时(您可以在其中选择 IDE 的颜色).我知道这听起来很奇怪.让我知道它是否对您有用!

I had the same problem. Looking for days but finally i found a solution. The first step is to completely delete Visual Studio (installer as well,yes) and then install it again.This time check on "general options" and not "recommended for C++" in the beginning of the installation(Its where you choose the color of the IDE).I know it's sounds..weird.Let me know if it worked for you too!

这篇关于Visual Studio 2019 始终运行旧版本代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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