Freigeben über


Did you know… How to change the build order for your solution? - #333

For managed projects, you can control their build order via the IDE. Right-click on the project in the Solution Explorer, and select Project Dependencies.

Project Dependencies context menu command

This will pop up the Project Dependencies dialog.

Project Dependencies dialog

Now you can say who depends on whom, but if you try to create a circular dependency, we’ll catch ya!

image

Looks like someone forgot the period in the sentence. =)

You can also do the same from Solution Properties, but you can’t view the build order. So maybe that justifies tomorrow’s tip.

Solution Properties - Project Dependencies

Technorati Tags: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    October 12, 2008
    PingBack from http://blog.a-foton.ru/index.php/2008/10/13/did-you-know%e2%80%a6-how-to-change-the-build-order-for-your-solution-333/

  • Anonymous
    October 13, 2008
    ...and by using project references instead of file references build order will be taken care of automagically. <shameless plug> And, should you so feel inclined, you can view your references using Dependency Visualizer (http://codeplex.com/dependencyvisualizer) created by me </shameless plug>

  • Anonymous
    October 13, 2008
    When defining dependencies in Visual C++, the project that depends on some other project will want to link against its dependency. Even if that dependency does not produce a .lib file. How do you disable that automagic linking?

  • Anonymous
    October 14, 2008
    I want to see some projects in my solution at the top. How to change <b>view</b> order of projects in solution?

  • Anonymous
    October 16, 2008
    My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Channel 9 Stuff: Anders Hejlsberg and Guy Steele- Concurrency and Language Design The Concurrency Runtime- Fine Grained Parallelism

  • Anonymous
    March 05, 2009
    本篇包括tip331-tip340http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-33.html#331、让在...