65.9K
CodeProject is changing. Read more.
Home

View the current library link order in a VC project

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.83/5 (6 votes)

Jun 28, 2011

CPOL
viewsIcon

24044

Shows how to view the current library link order in a VC project

To view the current library link order in VC++ 6.0 (!! please still use it?), follow these steps:
  1. On the Project menu, click Settings.
  2. In the Settings For view of the Project Settings dialog box, click to select the project configuration that is getting the link errors.
  3. On the Link tab, type /verbose:lib in the Project Options box.
  4. Rebuild your project. The libraries will be listed in the output window during the linking process.
For Visual Studio version 2005 (or more?), follow these steps:
  1. Open project properties
  2. Select Linker->CommandLine under Configuration Properties
  3. In the Addition options text box, type /verbose:lib
One benefit of using this /verbose:lib command is that you will also be able to see the MFC libraries that are linked during compile time in your MFC project.