Reputation: 85
How can I exclude the bin folder from SourceSafe in a Visual Studio 2008 web application? I want to be able to check in everything recursively from the solution node without picking up anything in the bin folder.
Upvotes: 2
Views: 4000
Reputation: 362
Yes, you could exclude files from source control in your projects.
For example (In Visual Studio), if you added the ConnectionStrings.config file to your project then select the ConnectionStrings.config file in the Solution Explorer and then select "Exclude ConnectionStrings.config from Source Control" from the File->Source Control menu. Now, your file will be ignored by Source Control and won't be checked into Source Control.
Note: If you right click on the ConnectionStrings.config file in Solution Explorer and bring up the context menu for it then there is a "Exclude From Project" menu item, THIS IS NOT the option to exclude from Source Control. So do not get confused between the "Exclude ConnectionStrings.config from Source Control" and "Exclude From Project"; they are not the same thing. "Exclude ConnectionStrings.config from Source Control" can only be accessed in the File->Source Control menu.
Upvotes: 0
Reputation: 735
You can hide the folder through Windows explorer, although it'll disappear from your Visual Studio Solution Exporer, I don't think that'll affect the website.
Upvotes: -1
Reputation: 8830
Upvotes: 2