Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

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: ,
Posted: Monday, October 13, 2008 3:00 AM by saraford

Comments

Simon said:

...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>

# October 13, 2008 10:01 AM

al said:

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?

# October 14, 2008 5:41 AM

Roman said:

I want to see some projects in my solution at the top.

How to change <b>view</b> order of projects in solution?

# October 14, 2008 8:39 AM

Visual Studio Hacks said:

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

# October 16, 2008 8:36 AM

xjb said:

# March 5, 2009 11:57 PM
New Comments to this post are disabled
Page view tracker