Visual Studio 2010 的全局源代码控制忽略模式中应包含什么?

发布于 2024-08-26 23:03:02 字数 247 浏览 4 评论 0原文

安装和使用 Visual Studio 2010 后,与 2008 年相比,我看到了一些较新的文件类型(至少对于 C++ 项目...不知道其他类型)。例如 .sdf、.opensdf,我猜它们是用存储在 SQL Server Compact 文件中的 Intellisense 信息替换 ncb 文件?我还注意到生成了 .log 文件,这些文件似乎是构建日志。

鉴于此,向我的全局忽略模式添加什么是安全的?首先,我假设是 .sdf、.opensdf,但是还有什么?

After installing and using Visual Studio 2010, I'm seeing some newer file types (at least with C++ projects ... don't know about the other types) as compared to 2008. e.g. .sdf, .opensdf, which I guess are the replacement for ncb files with Intellisense info stored in SQL Server Compact files? I also notice .log files are generated, which appear to be build logs.

Given this, what's safe to add to my global ignore pattern? Off the bat, I'd assume .sdf, .opensdf, but what else?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

始终不够 2024-09-02 23:03:02

对于 C++ 项目,您应该忽略以下文件:

  • *.sdf 和 *.opensdf(仅在 .vcxproj/.sln 加载时打开的临时文件
    Visual Studio IDE)
  • *.suo
  • *. vcxproj.user
  • ipch 文件夹(如果您的项目使用预编译头(PCH);它是 Intellisense 编译器的存储,现在可以利用 PCH 来获得更好的性能

对于 C# 项目,忽略 binobj 目录以及 * 也是一个好主意.suo 也是如此。

For C++ projects, you should be fine ignoring the following files:

  • *.sdf and *.opensdf (temporary file opened only while .vcxproj/.sln is loaded to
    Visual Studio IDE)
  • *.suo
  • *.vcxproj.user
  • ipch folder, if your project uses Pre-compiled Headers (PCH); it is a storage for Intellisense compiler which can now utilise PCH for better performance

For C# projects, it's also a good idea to ignore bin and obj directories, and *.suo too.

用心笑 2024-09-02 23:03:02
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store *.ilk *.aps *.suo *.ncb *.user *.opt *.plg */Debug* */Release* */debug* */release* *.*~ *.tlb *_i.c *_p.c _*.idl _*.h *.obj *.vspscc dlldata.c *.pch *.idb *.pdb *.manifest *.res *.exe *.dll mt.dep BuildLog.htm *_i.h *.idc *.swp *.trx */TestResults *.vcxproj.filters ipch *.sdf *.opensdf

阅读此参考页以了解 MS Visual Studio 中的文件类型< /a>

  • *.o:GCC 目标文件
  • *.loGNU Libtool 库对象文件
  • *.la:libtool 档案
  • *.al:?
  • .libs:autotools对象目录
  • *.so*.so.[0-9]*:GNU共享库
  • *。 a:GCC 导入或静态库
  • *.pyc:编译后的 Python 文件/库
  • *.pyo:Python 目标文件
  • *.rej >:SVN 冲突解决文件(主要是备份)
  • *~.~:Linux 桌面实用程序(如 Kate、Kwrite)的临时备份文件...
  • #*# .#*:构建系统生成的中间响应文件等
  • .*.swp:VIM 编辑器交换文件
  • .DS_Store:OSX目录元数据存储
  • *.ilk:MSVC增量链接器文件。
  • *.aps当前资源脚本文件的二进制版本;用于快速加载
  • *.suo解决方案用户选项
  • *.ncb:MSVC Intellisense 数据
  • *.user:QtCreator(可能还有其他)私有用户设置文件。
  • *.opt:MSVS 工作区选项
  • *.plg:构建日志文件
  • */Debug**/debug* >:调试构建目录
  • */Release**/release*:发布构建目录
  • *.tlb:MIDL 编译器的类型库输出
  • <代码>*_i.c、<代码>*_p.c、<代码>_*.idl、<代码>_*.h、<代码> *_i.h:MIDL 生成的文件。 _i - 接口,_p - 代理等。
  • *.obj:MSVC 目标文件。
  • *.vspscc:源代码控制配置
  • dlldata.c:MIDL 生成代理/存根代码。
  • *.pch:MSVC 预编译头
  • *.idb:最小重建增量数据库
  • *.pdb:程序调试数据库:包含所有调试信息。
  • *.manifest:清单文件
  • *.res:编译后的资源文件。
  • *.exe*.dll:Windows 二进制文件
  • mt.dep:生成的清单
  • BuildLog.htm:自我解释性
  • *.idc:Internet 数据库连接器定义
  • *.trxVisual Studio 测试结果文件
  • */TestResults:不言自明的
  • *.vcxproj.filters:依赖于用户的私有 VS IDE 文件。
  • ipch:MSVC预编译头目录
  • *.sdf:SQL Server Compact数据库文件
  • *.opensdf:与相应.sdf相关的临时文件
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store *.ilk *.aps *.suo *.ncb *.user *.opt *.plg */Debug* */Release* */debug* */release* *.*~ *.tlb *_i.c *_p.c _*.idl _*.h *.obj *.vspscc dlldata.c *.pch *.idb *.pdb *.manifest *.res *.exe *.dll mt.dep BuildLog.htm *_i.h *.idc *.swp *.trx */TestResults *.vcxproj.filters ipch *.sdf *.opensdf

Read this reference page for file types from MS Visual Studio

  • *.o: GCC object files
  • *.lo: GNU Libtool Library Object File
  • *.la: libtool archives
  • *.al: ?
  • .libs: autotools object directory
  • *.so, *.so.[0-9]*: GNU shared library
  • *.a: GCC import or static library
  • *.pyc: Compiled Python file/library
  • *.pyo: Python object file
  • *.rej: SVN conflict resolution file (mostly backups)
  • *~, .~: Temporary backup files for Linux desktop utilities like Kate, Kwrite...
  • #*# .#*: Build system generated intermediate response files etc.
  • .*.swp: VIM editor swap file
  • .DS_Store: OSX directory metadata storage
  • *.ilk: MSVC Incremental linker file.
  • *.aps: Binary version of the current resource script file; used for quick loading.
  • *.suo: Solution User Options
  • *.ncb: MSVC Intellisense Data
  • *.user: QtCreator (and maybe other) private user settings file.
  • *.opt: MSVS workspace options
  • *.plg: Build log file
  • */Debug*, */debug*: Debug build directory
  • */Release*, */release*: Release build directory
  • *.tlb: Type library output from MIDL compiler
  • *_i.c, *_p.c, _*.idl, _*.h, *_i.h: MIDL generated files. _i - interface, _p - proxy, etc.
  • *.obj: MSVC object file.
  • *.vspscc: Source code control configuration
  • dlldata.c: MIDL generatd proxy/stub code.
  • *.pch: MSVC precompiled header
  • *.idb: Minimum Rebuild Incremental Database
  • *.pdb: Program Debug database: contains all debug info.
  • *.manifest: Manifest files
  • *.res: Compiled resource file.
  • *.exe, *.dll: Windows binaries
  • mt.dep: Generated Manifest
  • BuildLog.htm: self-explanatory
  • *.idc: Internet Database Connector definitions
  • *.trx: Visual Studio Test Results File
  • */TestResults: Self-explanatory
  • *.vcxproj.filters: Private user-dependent VS IDE file.
  • ipch: MSVC Precompiled header directory
  • *.sdf: SQL Server Compact Database File
  • *.opensdf: Temp file related to corresponding .sdf
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文