Visual Studio 2015 Update 3 doesn't open .cs files


After I installed IntelliJ IDEA (Jetbrains) and JDK 1.8.0_102 my Visual Studio isn't able to open .cs Files with my user account. It always show the error message "The document cannot be opened. It has been renamed, deleted or moved.". On rightclick -> "open with" -> "Editor" the file opens in notepad - so there is no security issue.

After I delete any.cs file and undo my pending changes, I can open each .cs file without any problem - but only in the current visual studio session. After reastart VS the problem occurs again.

When I start Visual Studio with another user, there is no such problem!

I tried to repair Visual Studio, I tried to uninstall and reinstall Visual Studio and I also tried the VisualStudioUninstaller (which remove all settings in AppData folder) and reinstall Visual Studio again but nothing helps.

I would be very grateful for any ideas.


I also tried the flags to reset user settings /ResetSettings and /ResetUserData

When I start with /Save Mode the error message change to "The system cannot find the file specified. (Exception from HRESULT:0x80070002)".

asked on Stack Overflow Sep 19, 2016 by christitan • edited Sep 19, 2016 by christitan

1 Answer


My solution was to delete the local user profile. After that, Visual Studio works fine again.

answered on Stack Overflow Sep 20, 2016 by christitan

User contributions licensed under CC BY-SA 3.0