Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio does not show content of files

http://i41.tinypic.com/1z4bi1c.png

Picture says it all, it should currently be showing a file but as you can see its having issues drawing the content of the file.

I have unloaded all addons and restart visual studio.
If it mathers the previus project was a VS 2k8.

New Info:
If i wait a good 5min ( I have a Quad core I7 with 6gb ram, 295gtx. VS is running from a SSD).
It will load the text, but im unable to "edit", as it will have loaded some document (.cs ) but when i select the one i want to edit it not realy open that file.
It can best be described as visual studio having a 5min lag.

like image 353
EKS Avatar asked May 17 '10 19:05

EKS


People also ask

How do I see all files in Visual Studio?

Open your project in Visual Studio > click the Show All Files button > expand the bin , Debug > select and right-click the parent folder > choose Include in Project option. 4).

How do I add content to Visual Studio?

In Visual Studio 2010, In the Team Explorer window, expand your team project, and then double-click Source Control. On the Source Control Explorer tab, in the Folders pane, select the folder that contains the item or items you want to add. Click the Add Items to Folder button.

How do I see all codes in Visual Studio?

Visual Studio 17.2 Preview 3 introduces a brand-new All-In-One search experience that merges the existing VS Search (Ctrl + Q) and Go To (Ctrl + T) to allow you to search both your code and Visual Studio features quicker and easier than ever, all in the same place.

How do I show folders in Visual Studio?

In Visual Studio, click File > Open > Folder. Navigate to the folder, and click Select Folder. This opens the folder in Solution Explorer and displays its contents, files and any subfolders.


3 Answers

I had this precise bug. I would open files from the solution explorer but the editor window would either not appear, only 1-2 lines of 100+ line files would display, or the file would display but I could not scroll or otherwise edit the file. Some parts of VS were working, i.e. little tooltips would appear if I moused over the right part of the (invisible) text but I obviously couldn't do much in this state.

I have a lot of VS stuff installed so I thought it was some sort of plugin or extension that was causing things to go screwy. These installed items include:

  • Visual Studio 2010 10.0.30319.1
  • ReSharper 5.1.3000.12 (JetBrains)
  • DevExpress DXCore 10.1.5 (free community edition)
  • DX Source Outliner (reason for DXCore, from sbohlen)
  • Tabs Studio 2.0.6 (www.tabsstudio.com)
  • Productivity Power Tools 10.0.11019.3 (Microsoft)
  • Snippet Designer 1.3.0 (Matt Manela)

I solved it (2/18/2011) by Tools... Extension Manager... disabling the Productivity Power Tools and Snippet Designer. No idea what was going on but this fixed it for me and I was back to work. Probably something in the system drawing and/or display options.

EDIT

The issue continues. Unfortunately it is intermittent and I have not be able to reproduce it reliably. Now the suspects are the BugShooting and CaptureWiz screen capture tools. I've had the behavior show up and then disappear in and around the time of logging bugs with them.

2nd EDIT

The issue continually continues. I have not yet been able to determine the cause but usually quitting VS and restarting resolves the issue(s). Other parts of the behavior includes the menu options (File, Edit, View, etc.) not operating properly as they show only the highlight but not the actual menu items. The solution will build and run just fine, but things still won't show up properly.

like image 54
Mark A Avatar answered Oct 03 '22 18:10

Mark A


I had a similar issue whereby VS2012 was telling me that I had active (open) files, but the text editor was not displaying them. Clicking on the file(s) in the solution explorer seemingly did nothing. Alt + Tab just cycled through the open files, but still, nothing rendered on screen.

I solved it by clicking on the "WINDOW" menu item and then"Close All Documents". Visual Studio then behaved as expected and opened (and rendered) the files correctly.

like image 38
JC_Meister Avatar answered Oct 03 '22 20:10

JC_Meister


This bug was created by mumble 1.2.x, but is fixed in the snapshot versions of 1.3.x. YOu can likely get simular bugs by other software that does DirectX overlay.

like image 43
EKS Avatar answered Oct 03 '22 18:10

EKS