在构建解决方案时跳过项目 [英] Project skipping out while building the solution

查看:161
本文介绍了在构建解决方案时跳过项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,

我的解决方案中有23个项目,其中22个正在成功构建,但是在作为解决方案构建时有1个项目被跳过.

我什至尝试单独构建一个被跳过的项目,也许被跳过项目的依赖项project(4)正在成功构建,但是要构建的主要项目却被从构建中跳过了.

构建解决方案时不会引发任何错误.

这是构建时项目的输出结果

Hi friends,

I have 23 projects in my solution, out of that 22 are building successfully but 1 project is getting skipped while building as a solution.

I even tried to build that skipped project alone, perhaps the dependency project(4) for the skipped project is building successfully but the main project that is intended to build is skipped from building.

There is no error thrown while building the solution.

This is the output result for the project while building

报价:

===========内部版本:22个成功或最新,0个失败,1个跳过== ========

========== Build: 22 succeeded or up-to-date, 0 failed, 1 skipped ==========

我错过了什么吗?是什么导致的呢?
请尽快帮助我.

提前致谢.

Am I missing anything? What leads to this?
Please help me ASAP.

Advance thanks.

推荐答案

首先检查项目是否配置为要构建.
因此,打开Configuration-Manager(从Build菜单),然后查看右侧相应的复选框是否已激活.

如果这样做没有帮助,您必须检查配置是否适合您已安装的编译器.如果将项目配置为以64位版本构建,但是您仅安装了32位编译器,则将跳过该项目.

另外,在构建溶液之前,请尝试先清洁溶液.
因此,右键单击您的解决方案,然后选择清洁.
在此之后,选择重新构建整个解决方案.
First Check if the project is configured to be build.
Therefore open the Configuration-Manager (From the Build menu) and see if the corresponding checkbox at the right is activated.

If this doesn''t help you have to check if the configuration fits your installed compilers. If a project is configured to be build as 64-bit but you only have 32-bit compilers installed it will be skipped.

Also try to clean the solution before you build it.
Therefore right-click on your solution and choose clean.
After this choose rebuild whole solution.


右键单击solution-> properties->配置属性.检查您的项目是否被标记.希望这会是hlpfull
Right Click on solution->properties->Configuration properties. Check whether your project is marked or not. hope this will be hlpfull


朋友,

实际上,我似乎只在一个区域(DEBUG)中构建.
还有其他区域,发布区域,PROD区域,UAT区域,QA区域.
当我尝试为所有区域构建应用程序时,我发现缺少某些程序集引用文件.
因此,我清除了与该区域有关的所有错误.
现在一切正常.

感谢您的答复.
Hi friends,

Actually I was building in only one region(DEBUG) it seems.
There are other regions also, Release region,PROD region, UAT region, QA region.
When I try to build the application for all the region, i figured out that some assembly reference files are missing.
So I cleared all the errors that pertain to the region.
Now everything works good.

Thanks for your replies.


这篇关于在构建解决方案时跳过项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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