Recently a preceding small red icon started to appear before some of my VS 2015 Solution Explorer. I definitely remember it was not there some days before.
I think it has something to do with git source control what I am using (not sure), but can not figure what is it.
* edit *
Added more diagnostics:
* end edit *
The red check marks indicate that there has been a change to the file. Many of these answers for previous versions of Visual Studio seem correct.
The Solution Explorer tool window displays a solution and the project items created for this solution, for example, a business object or a screen. In the Solution Explorer, you can open items for editing and add new items to a solution. You can also search for files within a solution.
If you don't see the Solution Explorer tool window, you can open it from the Visual Studio menu bar by using View > Solution Explorer, or by pressing Ctrl+Alt+L.
Solution Explorer is a special window that enables you to manage solutions, projects, and files. It provides a complete view of the files in a project, and it enables you to add or remove files and to organize files into subfolders.
According to the version control icon documentation, it indicates files that have been excluded from version control, for example in the .gitingore
file.
However, in my case with Visual Studio Community 2015 Update 2, those icons also show up when I create a new project. Even if none of the created files are explicitly ignored through .gitignore
. The icons disappear once I've committed the changes.
For those who are getting this on Visual Studio 2019, I found that clicking on "Add Ignored File File to Source Control" under Source Control solved this for me and finally added the files for commit on my Git repository:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With