应将哪些文件从 C#/VB 中的 Visual Studio 项目文件签入到 SVN?
我发现此页面对于区分哪些文件应签入Delphi的版本控制系统非常有用。是否有类似的页面显示 VB.Net 中的哪些文件应签入存储库?
I find this page very useful in distinguishing which files should be checked in to the Version Control System in Delphi. Is there a similar page that shows which files in VB.Net should be checked in to the repository?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我建议(根据痛苦的经验)不要签入
希望这有帮助
I would recommend (from bitter experience) not checking in
Hope this helps
从项目的主目录:
通常不要添加 obj 或 bin 目录中的任何文件。这些文件夹存储编译器创建的构建的 exe 和中间文件。您可能希望将构建的 EXE 或 DLL 文件保留在 VCS 中,具体取决于个人喜好。
From the main directory for your project:
In general don’t add any files from the obj or bin directory. These folders store built exes and intermediate files created by the compiler. You might want to keep the built EXE or DLL files in VCS, depending on personal preference.
通过使用 Ankhsvn,我不必担心要签入哪些文件,因为这个工具知道这一切。
By using Ankhsvn, I didn't have to worry on which files to be checked in because this tool knows it all.
Dean的回答已经是最好的了。大多数人使用 Visual SourceSafe 或 Visual Studio Team Foundation Server,它们与 Visual Studio 环境完全集成,并且能够自动挑选出必要的文件。
但是想要使用其他 VCS 的人确实会问,有时会得到一个很好的答案:
http://www.codeproject.com/Messages/3645669/Files-in-a-VB-NET-project-to-put- under-Version-con.aspx
http://www.visualstudiodev.com/visual-basic-express-edition/which-files-directories-do-i-need-to- commit-to-version-control-cvs-71894.shtml
这是关于 Visual SourceSafe 的(现在被认为已过时):
http://msdn.microsoft.com/en-us/library/ms972977.aspx
Dean's answer is about as good as it gets. Most people make use of Visual SourceSafe or Visual Studio Team Foundation Server, which fully integrates with the Visual Studio environment and is able to automatically pick out the essential files.
But people who want to make use of some other VCS do ask, and sometime get a good answer:
http://www.codeproject.com/Messages/3645669/Files-in-a-VB-NET-project-to-put-under-Version-con.aspx
http://www.visualstudiodev.com/visual-basic-express-edition/which-files-directories-do-i-need-to-commit-to-version-control-cvs-71894.shtml
This one's about Visual SourceSafe (now regarded as obsolete):
http://msdn.microsoft.com/en-us/library/ms972977.aspx