在Visual C#Studio项目哪些文件不需要进行版本? [英] Which files in a Visual C# Studio project don't need to be versioned?

查看:97
本文介绍了在Visual C#Studio项目哪些文件不需要进行版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Visual C#工作室(实际使用防爆preSS版,但其他开发人员使用的是完整版本),我们使用的版本控制(SVN)。

I'm new to Visual C# Studio (actually using the Express edition, but another developer is using the full version), and we are using version control (svn).

这是可以接受的我的项目文件添加到存储库,因为这是回购只是我们两个人使用Visual C#工作室。但感觉像里面还有一些无关紧要的文件。有人熟悉Visual C#Studio项目文件能告诉我哪些文件可以安全地使用svn:忽略

It's acceptable to me to add the project files to the repository, since this repo is just for the two of us using Visual C# Studio. But it feels like there are some irrelevant files in there. Can someone familiar with Visual C# Studio project files tell me which files can safely be svn:ignored?

有些可疑文件:


  • project.csproj

  • project.csproj.Debug.cachefile

  • project.csproj.user

  • project.sln

  • project.suo

  • 内容\\ Content.contentproj

我敢肯定是需要的.sln,但什么是名为.suo这样?和.csproj的?可/应任何这些被的Visual C#工作室中加载项目产生的?

I'm sure the .sln is required, but what's this .suo? and the .csproj? Can/should any of these be generated by Visual C# Studio on loading a project?

推荐答案

不要包含结果
斌结果
OBJ结果
名为.suo *结果
*。用户结果
_Resharper * (如果您有 ReSharper的

包含结果
*结果的.sln
* .csproj的

Include
*.sln
*.csproj

您还可以检查Visual Studio项目的的.gitignore文件在GitHub上。

You can also check the .gitignore file for visual studio projects on github.

这篇关于在Visual C#Studio项目哪些文件不需要进行版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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