不包括从源代码管理文件夹中的ASP.NET网站? [英] Excluding a folder from source control in an ASP.NET website?

查看:69
本文介绍了不包括从源代码管理文件夹中的ASP.NET网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我有一个ASP.NET网站,在临时文件夹自动生成图像,并将它们存储工作。我的本地系统上工作时这些去进入,获取由Visual Source Safe中拿起一个临时文件夹,然后要检查他们,因此,我想知道是否有一种方法可以只排除从源头控制特定文件夹?

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?

我已经做了一些阅读和发现,有很多方法可以为<一个做到这一点href=\"http://forums.msdn.microsoft.com/en-US/vssourcecontrol/thread/6cc4aab0-e7bc-44e8-baa3-045c9cd82e9a/\"相对=nofollow>个人文件,但我还没有发现有关的整个文件夹任何东西。

I've done a bit of reading and found that there are ways to do this for individual files, but I haven't found anything yet about an entire folder.

推荐答案

我想你已经发现的主要原因MS回到项目在VS2008和MVC之一。

I think you've found one of the main reasons MS went back to projects in VS2008 and in MVC.

这是因为我已经使用VSS(主要是因为它真的过时了),但大多数源提供让你排除文件和文件夹作为供应商的环境,而不是控制该项目。很长一段时间

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.

如果您可以切换到Web项目,而不是一个网站,那么这样做,否则我想看看更新源代码控制,因为这种排斥是容易跳马,CSV,SVN,Git的,VSTS等等上(仅举几例)。

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).

这篇关于不包括从源代码管理文件夹中的ASP.NET网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆