Environment:VS 2010. TFS.
For one of my projects, whenever I compile, VS adds a bin folder to my project. I can delete it, but when I compile, it is re-added. This is a behavior I have not seen before and does not exist in other projects in the solution. Please see picture below for more details.
That bin file has not been added to your project. It is created with you build on the file system. That is why you see it as a transparent file. If you don't want to see files on the file system, you should toggle this visibility.
You can do this with the third icon under Solution Explorer (in the image you posted).
Update for Visual Studio 2019
Show All Files
is now the 9th button displayed in Solution Explorer
(it moves about as new versions of the IDE are released).
Because that's where compiled output goes.
You seem to be showing folders that are not included in your project. You could just turn off that setting if you don't want to see it.
You could also move where compiled output is written:
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