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.
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.
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.
"obj" folder is used to store temporary object files and other files used to create the final binary.
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:
Note that when you have it as Hide
some other things are hidden. My Project for instance can no longer be opened/expanded:
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.
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