简体   繁体   中英

Visual Studio 2010: Build DLL project before 'Active' project

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?

如果在解决方案上单击鼠标右键,然后选择“项目依赖项”,则可以告诉您您的exe依赖于DLL,并且在构建exe时应重新构建DLL(如果需要)。

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