问题描述
当我打开最近在 Visual Studio 2015 上创建的 C++ 项目时,我可以调试它并运行它,但代码窗口是空白的.我已经点击了四周,但找不到任何显示代码的内容,因此我可以继续处理它.
When I open a C++ project created recently on Visual Studio 2015 I am able to debug it and have it run, but the code window is blank. I've clicked all around and can not find anything to show me the code so I can continue to work on it.
我试过了:
- F7:查看代码不起作用.
- 从解决方案资源管理器窗口打开没有任何作用.
- 在 Google、Stack Exchange 和 YouTube 教程中搜索我的相同问题.
我怀疑这是我对接口的一个非常直接的误解,但我想参与 Stack Exchange 来弄清楚.
I suspect it is a very straightforward misunderstanding of the interface on my part, but wanted to get involved on Stack Exchange to figure it out.
[
推荐答案
为我修正了以下内容.
将颜色主题"更改为您拥有的其他内容.工具 -> 选项 -> 环境 -> 颜色主题:
Change 'Color Theme' to something other that what you have.Tools -> Options -> Environment -> Color theme:
选择确定",然后退出 Visual Studio.
Select OK then exit Visual Studio.
打开项目,应该会看到您的源代码.
Open project and should see your source.
这篇关于Visual Studio 2015 - 看不到现有项目的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!