<p>Right now I'm working with an ASP.NET website that automatically generates images and stores them in a temporary folder. When working on my local system these go going into a temporary folder that gets picked up by Visual Source Safe which then wants to check them in. As such, I am wondering if there is a way to just exclude that particular folder from source control?</p>

<p>I've done a bit of reading and found that there are ways to do this for <a href="http://forums.msdn.microsoft.com/en-US/vssourcecontrol/thread/6cc4aab0-e7bc-44e8-baa3-045c9cd82e9a/" rel="nofollow noreferrer">individual files</a>, but I haven't found anything yet about an entire folder.</p>

[{'answer_id': 41727, 'author': 'Guy Starbuck', 'author_id': 2194, 'author_profile': 'https://Stackoverflow.com/users/2194', 'pm_score': 0, 'selected': False, 'text': '<p>I\'m not sure if this is an option for you, but if you exclude your temporary folder from VSS (delete the folder inside VSS using the VSS UI), the files that go into it should not get "picked up" again.</p>\n'}, {'answer_id': 41731, 'author': 'Nick Berardi', 'author_id': 17, 'author_profile': 'https://Stackoverflow.com/users/17', 'pm_score': 1, 'selected': False, 'text': '<p>Are you using ASP.NET Website or ASP.NET Web Project?  The difference is significant enough to solve or promote this problem.</p>\n\n<p>Websites, love to scan the file system and auto checkin.\nProjects, checkin only what you tell them to.</p>\n\n<p>Also Visual Source Safe is pretty out dated, most recent source control systems allow you to do what you are asking.  SVN and TFS 2008 SP1 do from my experience.</p>\n\n<p>You can also try to right click and pick "Exclude" on the folder, but in the case of a Website I believe this renames the folder.</p>\n'}, {'answer_id': 190743, 'author': 'Keith', 'author_id': 905, 'author_profile': 'https://Stackoverflow.com/users/905', 'pm_score': 3, 'selected': True, 'text': "<p>I think you've found one of the main reasons MS went back to projects in VS2008 and in MVC.</p>\n\n<p>It's been a long time since I've used VSS (mainly because it's really out of date now), but most source providers let you exclude files and folders as a setting of the provider, rather than the project under control.</p>\n\n<p>If you can switch to a Web Project rather than a WebSite then do so, otherwise I'd look at updating your source control provider, as this sort of exclusion is easy with Vault, CSV, SVN, Git, VSTS and so on (to name but a few).</p>\n"}, {'answer_id': 190765, 'author': 'mattlant', 'author_id': 14642, 'author_profile': 'https://Stackoverflow.com/users/14642', 'pm_score': 0, 'selected': False, 'text': '<p>I would suggest <em>emptying/deleting</em> your folder from your website. Have your website on startup <em>create/verify</em> the folder, and on shutdown to clean it up and remove anything in it. This can be DEBUG code only (wrap in #if DEBUG) if so needed. Also add a build script to your project that does this every time it is built also.</p>\n'}, {'answer_id': 778985, 'author': 'Min', 'author_id': 14461, 'author_profile': 'https://Stackoverflow.com/users/14461', 'pm_score': 0, 'selected': False, 'text': "<p>Could you just make your application write to a temporary folder that is outside of your website?</p>\n\n<p>e.g. in <code>C:\\tempfiles</code></p>\n\n<p>VSS shouldn't be able to pick it up then.</p>\n"}, {'answer_id': 3656498, 'author': 'Catherine', 'author_id': 364092, 'author_profile': 'https://Stackoverflow.com/users/364092', 'pm_score': 0, 'selected': False, 'text': '<p>If you perform operations on a parent project of the temporary folder, you may try cloaking the folder.\n<a href="http://msdn.microsoft.com/en-us/library/x2398bf5(VS.80).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/x2398bf5(VS.80).aspx</a></p>\n'}]
['https://Stackoverflow.com/questions/41715', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1185/']