Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2015 shows a project as ignored

I was wondering if anyone else has seen this problem I am having. The VS 2015 GUI shows all of the projects in my solution with a little red circle next to it. If I move the cursor over the project the tool tip says ignored.

Ignored Project

I haven't been able to find anything in the help on what it means. Any ideas?

It doesn't seem to cause any problems, everything still compiles, just disconcerting.

It's not explained here either: https://msdn.microsoft.com/en-us/library/y47ychfe(v=vs.140).aspx

Environment: - VS 2015 Professional - cmake 3.3.1 used to generate the files - Windows 7 Enterprise

Thanks, Jason

like image 254
JasonA Avatar asked Oct 12 '15 02:10

JasonA


2 Answers

This is an icon from your source control.

When I select Git and add a file that should be ignored (like test.log), it has that same icon and a tooltip.

With some magnification, this icon resembles a "Do Not Enter" road sign :)

like image 107
Vlad Feinstein Avatar answered Nov 04 '22 14:11

Vlad Feinstein


Solved! Thanks for the help Vlad.

When using cmake I put all of the generated files in a sub-directory called build. So that git doesn't think these files are new files I add /build to the .gitignore file. VS is 'informing' me of this with the ignore icon. That is why the ignore does not have any affect on the build.

Jason

like image 20
JasonA Avatar answered Nov 04 '22 13:11

JasonA