Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

files disappear from VS 2015 solution after saving

After installing VS 2015 Pro (14.0.25... with Update 3, licence key has been succesfully added), and creating a new project (especially in Javascript or TypeScript with Ionic 2 templates), when I open a file, (modified it or not), I save it and it disappear from Solution Explorer. Just before it disappear, the icon of the file is updated with a warning icon.

However, if I try to create a C++ project, there is no problem !

In a typescript project, after building, ts files appear again at the end of the build.

All my projects are located in c: disk. I've tried with and without using git.

The two extensions I've installed are : Ionic 2 templates and NPM Task runner. I uninstalled them, but the problem is still here.

When I restart VS, I can see again the files. But the problem is still here.

How to fix it ?

like image 703
Menencia Avatar asked Nov 09 '17 17:11

Menencia


People also ask

Why do files keep disappearing?

Files can disappear when the properties are set to "hidden" and File Explorer is not configured to show hidden files. Computer users, programs and malware can edit file properties and set them to hidden to give the illusion that the files don't exist and prevent you from editing the files.

Where are Visual Studio solutions saved?

When you create a new project, Visual Studio saves it to its default location, %USERPROFILE%\source\repos. To change this location, go to Tools > Options > Projects and Solutions > Locations. For more information, see Options dialog box: Projects and Solutions > Locations.

How do I add files in VS 2019?

A Visual Studio extension for easily adding new files to any project. Simply hit Shift+F2 to create an empty file in the selected folder or in the same folder as the selected file. See the changelog for updates and roadmap.


1 Answers

I had same issue on Windows 10. It seems caused by windows update version 1709. After I recovered my windows version to 1703, the problem was solved.

like image 179
bindqqoneman Avatar answered Oct 18 '22 04:10

bindqqoneman