C++ 视觉工作室项目文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13666122/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-27 17:37:04  来源:igfitidea点击:

visual studio project files

c++visual-studio-2010visual-studiovcprojvcxproj

提问by user987280

What is the difference between a .vcprojand a .vcxprojVisual Studio project file? Is the .vcprojformat only available in versions of Visual Studio prior to 2010?

是什么之间的区别的.vcproj.vcxprojVisual Studio项目文件?是的.vcproj仅在2010年之前的Visual Studio版本格式?

I ask because I am reading an MSDN tutorial dated 10/12 which says to insert text into a certain area of the .vcproj file that doesn't exist in the .vcxproj file. Trying to put the text in a similar area breaks the project.

我问是因为我正在阅读日期为 10/12 的 MSDN 教程,其中说要将文本插入到 .vcxproj 文件中不存在的 .vcproj 文件的某个区域。试图将文本放在类似的区域会破坏项目。

回答by Garry

Build System Changes

构建系统更改

Project files no longer use the .vcprojfile 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).

The MSBuild system is used to build Visual C++ projects. However, in Visual Studio 2008 and earlier releases, the VCBuild system was used. Certain file types and concepts that depended on VCBuild either do not exist or are represented differently in the current system.

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

项目文件不再使用.vcproj文件扩展名。Visual Studio 自动将早期版本的 Visual C++ 创建的项目文件转换为当前系统使用的格式。有关如何手动升级项目的详细信息,请参阅/Upgrade (devenv.exe)

MSBuild 系统用于构建 Visual C++ 项目。但是,在 Visual Studio 2008 和更早版本中,使用了 VCBuild 系统。某些依赖于 VCBuild 的文件类型和概念要么不存在,要么在当前系统中以不同方式表示。

在当前版本中,项目文件的文件扩展名是.vcxproj.

Here is your answer: it has been changed from .vcprojto .vcxproj

这是您的答案:它已从 更改.vcproj.vcxproj