Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Quote:
========== 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.
Posted

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.
 
Share this answer
 
v2
Comments
♥…ЯҠ…♥ 25-Sep-12 4:51am    
Each project is checked for building in Configuration manager.
Now,How to check the compiler version in my IDE?
Legor 25-Sep-12 4:57am    
In the configuration manager, the column platform states if the build is for 32 or 64 bit. Check if there are different settings for your single projects (especially the one that is not build). Are you working on a 32-bit or 64-bit machine?

Also have you tried the "clean-rebuild" solution i provided above?
♥…ЯҠ…♥ 25-Sep-12 5:14am    
Am using Windows Xp machine, in configuration manager platform is "Any CPU", is there anything to do with that?
Legor 25-Sep-12 5:20am    
This is the default for .NET programs. It is said that your programs are machine agnostic. This means the target machine is determined before you run your binary (depending on the machine or running it on). So you do not need to change this.

However you still didn't say if you tried the "clean-rebuild" solution.
♥…ЯҠ…♥ 25-Sep-12 5:40am    
Totally weird, even while cleaning the solution the particular project is skipped. sighs!!!!
Right Click on solution->properties->Configuration properties. Check whether your project is marked or not. hope this will be hlpfull
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900