简体   繁体   English

我在Visual Studios 2008中的C ++项目类型是什么

[英]What is my C++ project type in Visual Studios 2008

I am trying to add a new project to the existing solution. 我正在尝试向现有解决方案中添加一个新项目。 But when I create a new project to add to the solution, it looks different from the other projects in the solution. 但是,当我创建一个要添加到解决方案中的新项目时,它看起来与解决方案中的其他项目有所不同。 How will I determine what is the type of the existing projects in the solution? 我将如何确定解决方案中现有项目的类型? I am currently using Visual Studios 2008, however I am not sure which version of Visual Studios was used to create the old projects. 我当前正在使用Visual Studios 2008,但是我不确定使用哪个版本的Visual Studios创建旧项目。

A Visual Studio project does not have a "type". Visual Studio项目没有“类型”。 It has different configurations , and each configuration is a huge set of options . 它具有不同的配置 ,每种配置都有大量的选项 By default, two configurations "Build" and "Release" are created for a project, but this is just a convention. 默认情况下,为项目创建两个配置“ Build”和“ Release”,但这只是一个约定。

Try googling for "visual studio copy project configuration to other project", it will give you a few hints on how to copy a project's options to another project. 尝试谷歌搜索“将Visual Studio复制项目配置到其他项目”,它将为您提供一些有关如何将一个项目的选项复制到另一个项目的提示。 A very quick'n'dirty solution I can think of from the top of my head is to copy the project files on disk and then use the solution's "Add > Existing Project..." option. 我可以想到的一个非常快捷的解决方案是将项目文件复制到磁盘上,然后使用该解决方案的“添加>现有项目...”选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM