Build(Contextmenu)无法开始构建 [英] Build (Contextmenu) doesn't start building

查看:73
本文介绍了Build(Contextmenu)无法开始构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从VS 2008迁移到Visual Studio 2010后,许多项目的单个项目无法在我的项目地图中开始构建。问题:在更改c ++文件并在contextmenu中选择build / compile(在项目上)之后,c ++文件保存为
但未编译。选择"编译/构建所有"工作良好。

此项目地图中的所有其他项目均可正常运行。在其他计算机上,这个项目开始构建/编译。

我创建了一个新的项目地图,但是在插入这个项目后效果相同。我修复了我的Visual Studio 2010, 我检查的项目设置,我复制* .vcxproj *从另一台计算机的文件,但是没有什么帮助。

解决方案

喜GSD-麦克,


我一直在看这个问题一段时间了。要找到有关该问题的更多信息,我建议您在导致问题的项目上尝试以下步骤:
$
1->右键单击解决方案资源管理器中的项目,然后选择卸载项目。

2->再次右键单击该项目,然后选择Edit projectName.vcxproj。


在编辑器区域中,尝试检查字段中的.cpp文件,如下所示:

< ItemGroup> < ClCompile Include =" **。cpp" /> < ClCompile Include =" **。cpp" /> < / ClCompile> < / ItemGroup> 

我们应该确保项目所需的所有.cpp文件都应该在上面的字段中列出。如果前一个修改影响这些.cpp文件,请尝试使它们与以前相同。如果问题仍然存在,请随时告诉我们
。我们将为此提供进一步的帮助。


最好的问候,

Helen Zhao


After migration from VS 2008 to Visual Studio 2010, one single project of many projects doesn't start to build in my project map. The problem: after changing a c++ file, and selecting build/compile in contextmenu (on the project), the c++ file is saved but not compiled. Selecting "compile/build all" works fine.
All other projects in this project map works fine. On other computers this project start building/compiling.
I create a new project map, but the same effect, after insering this project. I repaired my Visual Studio 2010,  i checked the project settings, i copied *.vcxproj* files from another computer, but nothings helps.

解决方案

Hi GSD-Mike,

I have been watching this issue for a while now. To find out more information about the issue, I suggest you try the following steps on the project which caused the problems:
1->Right click the project in Solution Explorer and select Unload Project.
2->Right click the project again and select Edit projectName.vcxproj.

In the editor area, try to check the .cpp files in the field like this:

  <ItemGroup>    <ClCompile Include="**.cpp" />    <ClCompile Include="**.cpp" />    </ClCompile>  </ItemGroup>

We should make sure that all the .cpp files needed by the project should be listed in the above field. If the former modification affects these .cpp files, please try to make them the same as before. If the problem still exists, please feel free to let us know. We'll provide further help for it.

Best regards,
Helen Zhao


这篇关于Build(Contextmenu)无法开始构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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