glycci
glycci

Reputation: 61

Visual Studio 2015 - Can't see code to existing project

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.

I have tried:

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.

[Screenshot of VS2015 at point of problem.

Upvotes: 5

Views: 21544

Answers (2)

Joe
Joe

Reputation: 50

Please clear Visual Studio Cache, then open the Visual Studio again. You can find cache folder on follwing path

C:\Users\<your_username>\AppData\Local\Microsoft\VisualStudio\<VS_version>\ComponentModelCache

Note : Close Visual Studio, and stop all Visual Studio processes.

Upvotes: 1

Snappy Cracker
Snappy Cracker

Reputation: 1481

Fixed with the following for me.

Change 'Color Theme' to something other that what you have. Tools -> Options -> Environment -> Color theme:

Select OK then exit Visual Studio.

Open project and should see your source.

Upvotes: 13

Related Questions