如何在 Visual Studio 2008 Web 应用程序中从 sourcesafe 中排除 bin 文件夹?
如何在 Visual Studio 2008 Web 应用程序中从 SourceSafe 中排除 bin 文件夹? 我希望能够从解决方案节点递归地检查所有内容,而无需在 bin 文件夹中获取任何内容。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
项目
project
是的,您可以从项目的源代码管理中排除文件。
例如(在 Visual Studio 中),如果将 ConnectionStrings.config 文件添加到项目中,则在解决方案资源管理器中选择 ConnectionStrings.config 文件,然后从“文件”->“源代码管理”中选择“从源代码管理中排除 ConnectionStrings.config”菜单。 现在,您的文件将被源代码管理忽略,并且不会签入源代码管理。
注意:如果您在解决方案资源管理器中右键单击 ConnectionStrings.config 文件并打开它的上下文菜单,则会出现一个“从项目中排除”菜单项,这不是从源代码管理中排除的选项。 因此,不要混淆“从源代码管理中排除 ConnectionStrings.config”和“从项目中排除”; 它们不是同一件事。 “从源代码管理中排除 ConnectionStrings.config”只能在“文件”->“源代码管理”菜单中访问。
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.
您可以通过 Windows 资源管理器隐藏该文件夹,尽管它会从您的 Visual Studio Solution Exporer 中消失,但我认为这不会影响网站。
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.