Jesse Johnson
Jesse Johnson

Reputation: 1718

Visual Studio 2017 file icon after saving file changes

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

enter image description here

I'm not sure if this is the result of an extension I've installed or was rolled out within an update to Visual Studio.

I would really like to disable this, any help is appreciated.

UPDATE 1

This doesn't seem to be related to Git integration as the icons still change with source control features disabled (see screenshot below).

enter image description here

Upvotes: 4

Views: 1248

Answers (2)

Jesse Johnson
Jesse Johnson

Reputation: 1718

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

The developer community has already reported this issue, see Solution Shows Missing File Icon, which is currently "Under Investigation".

Updated August 30, 2017

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

Updated September 15, 2017

This issue has been fixed and is included within version 15.4 which is included in Visual Studio 2017 Preview. Downloaded and confirmed this is not longer an issue with the preview edition.

Upvotes: 2

Tiramonium
Tiramonium

Reputation: 867

If you made sure VS didn't throw any error, warning or info exception in its Error List regarding the modified file, it most likely is related to the Git integration this Visual Studio edition came with. It works like a file version controller software, showing visual icons like this one to show if the files were commited and if they were, if they are new or not and altered or not.

To disable source code control, go to Tools, Options, Source Code Control and select None. If nothing changes instantly, I recommend restarting VS and checking again.

Upvotes: 0

Related Questions