Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide bin and obj folder from being displayed in solution explorer

I am using Visual Studio 2008.

I have a windows forms application in VB. My project is working fine, but I would like to hide the bin and obj from being displayed in solution explorer.

The reason being that I could see other forms application in project in similar( bin and obj not displayed in solution explorer) way all though they have the bin and obj as folders.

like image 324
Nishanth Lawrence Reginold Avatar asked Oct 01 '14 12:10

Nishanth Lawrence Reginold


People also ask

Can I remove OBJ folder?

The bin and obj folders are usually safe to delete since they are automatically generated when the solution/project is being build by Visual Studio/MSBuild.

What is the difference between OBJ and bin folders?

The obj directory is for intermediate object files and other transient data files that are generated by the compiler or build system during a build. The bin directory is the directory that final output binaries (and any dependencies or other deployable files) will be written to.

What is a OBJ folder?

"obj" folder is used to store temporary object files and other files used to create the final binary.


1 Answers

One of the buttons at the top of Solution Explorer is to Hide/Show All Files. When on/pressed/Show, the bin and obj folders show as dotted lines (may depend on themes and settings) to show they are VS folders:

enter image description here

Note that when you have it as Hide some other things are hidden. My Project for instance can no longer be opened/expanded:

enter image description here

The My Project files are all VS/Designer files which can be changed elsewhere (Settings tab for instance), but sometimes it is nice to just open one to check something.

Unlike C# projects, VB also hides References so you cant right click it for the short Reference context menu. Add Reference is still on the longer Project context menu and of course in Project Properties.

like image 93
Ňɏssa Pøngjǣrdenlarp Avatar answered Oct 01 '22 10:10

Ňɏssa Pøngjǣrdenlarp