简体   繁体   中英

Build output doesn't match the project build order

I am using Visual Studio 2008 in order to build a soultion with 19 projects.

If I go to the Project Dependencies window and then to Build Order tab I see that project XXX should be the last project to be built. However, when I build the solution, project XXX is built somewhere in the middle, and it is definitely not the last project to be built.

How is this thing possible?

The Build order tab should show you one possible topological sort of the projects based on dependencies. If you want a project to always be the last one built, you should make it depend on all the other projects.

Maybe you selected another one which depends on your project XXX project before building solution. Also, concurrent projects building at a time may cause your confusion. Let open "Option\\Projects and Solutions\\Build and Run" and make sure maximum number of parallel projects builds is 1.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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