This project is read-only.

Editor features lost after reopening certain solutions


This issue only affects solutions which contain multiple projects that include the same physical source file on disk. To simplify the diagnosis, the steps to reproduce refer to a public repository which exhibits this behavior.

Steps to reproduce:
  1. Clone the repository:
  2. Open the solution in a Roslyn instance of Visual Studio 2013: runtime/CSharp/Antlr4.sln
  3. In the Antlr4.Runtime.v3.0 project, open the source file AntlrFileStream.cs
  4. Click File → Close Solution
  5. Click File → Recent Projects and Solutions → Antlr4.cs
Expected behavior: The solution is opened, and the source file AntlrFileStream.cs is opened for editing as before.

Actual behavior: When the source file AntlrFileStream.cs is reopened, most editor features are lost (including IntelliSense, syntax highlighting, and the dropdown bars). The only editor feature which appears to still work is the Code Lens.


dpoeschl wrote Oct 1, 2014 at 10:38 PM

Thanks for reporting this issue. This should be fixed in an upcoming Visual Studio 14 CTP.

David Poeschl