Visual Studio 2017 file icon after saving file changes

Does anyone know why every time I save changes to a file in Visual Studio 2017 it changes the icon of my file (see screenshot below)?

enter image description here

I'm not sure if this is the result of an extension that I installed or deployed as part of an update for Visual Studio.

I'd really like to turn this off, any help would be appreciated.


This does not seem to be related to the Git integration, as the icons are still changing with version control disabled (see screenshot below).

enter image description here


source to share

2 answers

This seems to be a known issue for .NET Core solutions in Visual Studio 2017.

The developer community has already reported this issue, see Solution shows a missing file icon currently under "Under Investigation".

Updated August 30, 2017

The fix for this known issue is now currently flagged as "Fixed - Pending Release".

Updated September 15, 2017

This issue has been fixed and included in version 15.4 , which is included in Visual Studio 2017 Preview . Uploaded and confirmed that this is no longer an issue with the preview edition.



If you've verified that VS is not throwing an error, warning, or information error in its error list for a modified file, it is most likely due to the Git integration that version of Visual Studio came with. It works like a file version controller software, showing visual icons like this to show if files have been downloaded and if they were new or not and changed or not.

To turn off source control, open Tools, Options, Source Control and select None. If nothing changes instantly, I recommend restarting VS and checking again.



All Articles