views:

23

answers:

1

I have a solution consisting of 2 projects. One is a DLL, and the other is a console app making use of this DLL (runtime). The console app is set as my active project and when I run (F5), it is started (optionally rebuilt first).

I want to make Visual Studio 2010 rebuild the DLL project everytime I run my console app. How can I do this?

+3  A: 

If you right click on the solution and select "Project Dependencies" you can tell it that your exe depends on the DLL and it should rebuild the DLL (if needed) when you build the exe.

Slapout
Thanks! I was searching my ass off in the Project Properties of my exe.
Daniel
Yeah, there's so many options and places to look that it's hard to find what you're looking for.
Slapout