Project dependency on Visual Studio

In Visual Studio, I have two C ++ projects - Gui.vcproj and Dll.vcproj.

Gui is application and Dll is DLL.

What's the best way to do automatic dependency resolution?

I tried to add Dll.vcproj to Gui.vcproj links but it doesn't work.

+2


source to share


2 answers


  • Create solution
  • Add Gui.vcproj and Dll.vcproj to solution
  • In the solution explorer window, right click on the yuo solution you just created.
  • Select project dependencies.
  • Select the project you want to use for these two and check the Depends On box.


+5


source


Place both projects in a shared solution and specify "project dependencies" in the solution properties. This is what "project dependencies" refer to.



+2


source







All Articles