微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

c – .vcxproj在源代码控制中

我一直在阅读很多有关vcxproj文件是否应添加到源代码控制的问题.共识似乎是他们应该,但是当打开文件时,我注意到包含很多用户特定的路径.

看到这是一个正在由许多人工作的项目,我还应该将其添加到源代码管理?它似乎会与其他人的设置相冲突.

解决方法

当然,他们需要添加到源代码控件,.vcxproj是项目文件.报价 MSDN

Project files no longer use the .vcproj file name extension. Visual
Studio automatically converts project files that were created by an
earlier release of Visual C++ to the format that is used by the
current system. For more information about how to manually upgrade a
project,see /Upgrade (devenv.exe).

In the current release,the file name extension for a project file is
.vcxproj.

另一方面,.vcxproj.user文件不需要添加到源代码控制.上面的链接描述了这些文件中包含的内容.

原文地址:https://www.jb51.cc/c/110368.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐